重庆测试问题修改
This commit is contained in:
parent
1fd3565c51
commit
a6497fcc2c
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in New Issue