|
|
|
@@ -1147,10 +1147,11 @@ public class WxEnergyServiceImpl implements WxEnergyService { |
|
|
|
//根据店铺查询绑定的科目 |
|
|
|
WxEnergyFeesShop csq = new WxEnergyFeesShop(); |
|
|
|
csq.updateTenantInfo(record); |
|
|
|
csq.setFeesId(fees.getId()); |
|
|
|
csq.setShopId(shopId); |
|
|
|
List<WxEnergyFeesShop> shopFeesList = wxEnergyFeesShopMapper.findList(csq); |
|
|
|
if (null == shopFeesList || shopFeesList.size() <= 0 ) { |
|
|
|
throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),"店铺"+shop.getShopNumber()+"未设置费用标准"); |
|
|
|
throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),"店铺"+shop.getShopNumber()+"未设置该科目费用标准"); |
|
|
|
} |
|
|
|
|
|
|
|
//循环店铺科目, |
|
|
|
|