1/24
This commit is contained in:
@@ -34,8 +34,8 @@ public class CustomerStoreService extends MybatisBaseService<CustomerStoreMapper
|
||||
LpkStoreService lpkStoreService;
|
||||
public ResultBean<CustomerStoreVo> getStoreBySid(String customerSid) {
|
||||
ResultBean rb=new ResultBean().fail();
|
||||
CustomerStoreVo vo=new CustomerStoreVo();
|
||||
vo=baseMapper.getStoreBySid(customerSid);
|
||||
|
||||
CustomerStoreVo vo=baseMapper.getStoreBySid(customerSid);
|
||||
|
||||
// if(null==vo){
|
||||
// LpkStoreVo list= lpkStoreService.getAllStoreByQuery(new LpkStoreQuery()).getData().get(0);
|
||||
@@ -47,6 +47,11 @@ public class CustomerStoreService extends MybatisBaseService<CustomerStoreMapper
|
||||
// vo1=getStart(vo1);
|
||||
// return rb.success().setData(vo1);
|
||||
// }
|
||||
if(null==vo){
|
||||
CustomerStoreVo vo1=new CustomerStoreVo();
|
||||
vo1=getStart(vo1);
|
||||
return rb.success().setData(vo1);
|
||||
}
|
||||
vo=getStart(vo);
|
||||
return rb.success().setData(vo);
|
||||
}
|
||||
|
||||
@@ -123,7 +123,7 @@ public class ShoppingCartService extends MybatisBaseService<ShoppingCartMapper,
|
||||
vo.setRemarks("已减免附加额");
|
||||
if(weight<=99){
|
||||
if(weight<20){
|
||||
vo.setRemarks("不足20斤,请继续选菜");
|
||||
vo.setRemarks("不足20斤");
|
||||
}else{
|
||||
double a =1.1;
|
||||
double d=Double.valueOf(vo.getTotalPrice());
|
||||
|
||||
Reference in New Issue
Block a user