1.修改上传人口照片提示实有人口不存在的问题
This commit is contained in:
gaoben 2021-11-02 16:14:14 +08:00
parent ec5b95dde1
commit d3204b7577
1 changed files with 2 additions and 1 deletions

View File

@ -703,7 +703,8 @@ public class XaImageTask implements ITask {
if(datas!=null){ if(datas!=null){
for(int i = 0;i<datas.size();i++){ for(int i = 0;i<datas.size();i++){
JSONObject resData = (JSONObject) datas.get(i); JSONObject resData = (JSONObject) datas.get(i);
if(((String)resData.get("Result")).indexOf("该人员照片已超出上报张数")>0){ if(((String)resData.get("Result")).indexOf("该人员照片已超出上报张数")>0
|| ((String)resData.get("Result")).indexOf("实有人口不存在")>0){
TenPersonEntity recordEntity = updatePersons.get(i); TenPersonEntity recordEntity = updatePersons.get(i);
recordEntity.setXaSyncImage(1); recordEntity.setXaSyncImage(1);
tenPersonService.updateById(recordEntity); tenPersonService.updateById(recordEntity);