重庆测试问题修改

This commit is contained in:
csyue 2024-06-14 16:31:45 +08:00
parent 1fd3565c51
commit a6497fcc2c
1 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ public class SltAgreementInfoServiceImpl implements SltAgreementInfoService {
info.setApplyId(String.valueOf(apply.getId()));
//对是否收费进行转换
//info.setPartType(PartTypeEnum.getCodeByInfo(info.getPartType()));
info.setPartType(info.getPartType()=="不收费" ? "0" : "1");
info.setPartType(info.getPartType().equals("不收费") ? "0" : "1");
sltAgreementInfoMapper.insDetails(info);
}
for (SltAgreementInfo info : scrapList){
@ -217,7 +217,7 @@ public class SltAgreementInfoServiceImpl implements SltAgreementInfoService {
info.setApplyId(String.valueOf(apply.getId()));
//info.setPartType(info.getScrapType());
//info.setPartType(ScrapTypeEnum.getCodeByInfo(info.getScrapType()));
info.setPartType(info.getScrapType()=="自然" ? "0" : "1");
info.setPartType(info.getScrapType().equals("自然") ? "0" : "1");
sltAgreementInfoMapper.insDetails(info);
}
for (SltAgreementInfo info : loseList){