|
@@ -700,11 +700,11 @@ public class PayBaseCustomerandmeterrelaServiceImpl implements PayBaseCustomeran
|
|
|
if(!oldWaterPropertyId.equals(newWaterPropertyId)){
|
|
|
//如果有更换用水性质则需要先判断本账期是否审核水量
|
|
|
//根据客户查找是否有本账期未审核的水量信息
|
|
|
- BaseClosingAccountInfoDto baseClosingAccountInfoDto= baseClosingAccountInfoMapper.getLastClosingAccount(loginUser.getSiteId(),loginUser.getCustomerId());
|
|
|
+ /*BaseClosingAccountInfoDto baseClosingAccountInfoDto= baseClosingAccountInfoMapper.getLastClosingAccount(loginUser.getSiteId(),loginUser.getCustomerId());
|
|
|
Integer state = amountWaterUsedAmountMapper.getwaterUserdAmount(baseClosingAccountInfoDto.getYear(),baseClosingAccountInfoDto.getMonth(),loginUser.getSiteId(),loginUser.getCurrentSiteId(),saveAccount.getId());
|
|
|
if(state != null && state == 1){
|
|
|
throw new ServiceException(-900, "修改失败,本账期有未审核的水量。");
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
saveAccount.setName(payBaseCustomerandmeterrela.getAccountname());
|
|
|
saveAccount.setIdtype(payBaseCustomerandmeterrela.getIdtype());
|