|
|
@ -768,7 +768,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
|
|
|
|
|
// 处理详情获取存在多条1065的作物数据情况
|
|
|
// 处理详情获取存在多条1065的作物数据情况
|
|
|
Long handlerDeptId; |
|
|
Long handlerDeptId; |
|
|
if (0L == resultDTO.getHandlerDeptId() || null == resultDTO.getHandlerDeptId()) { |
|
|
if (null == resultDTO.getHandlerDeptId() || 0L == resultDTO.getHandlerDeptId()) { |
|
|
ItemDetailForPCEndResultDTO byItemId = baseDao.getHandlerDeptIdByItemId(id); |
|
|
ItemDetailForPCEndResultDTO byItemId = baseDao.getHandlerDeptIdByItemId(id); |
|
|
handlerDeptId = byItemId.getHandlerDeptId(); |
|
|
handlerDeptId = byItemId.getHandlerDeptId(); |
|
|
} else { |
|
|
} else { |
|
|
@ -963,7 +963,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
|
|
|
|
|
// 处理详情获取存在多条1065的作物数据情况
|
|
|
// 处理详情获取存在多条1065的作物数据情况
|
|
|
Long handlerDeptId; |
|
|
Long handlerDeptId; |
|
|
if (0L == resultDTO.getHandlerDeptId() || null == resultDTO.getHandlerDeptId()) { |
|
|
if (null == resultDTO.getHandlerDeptId() || 0L == resultDTO.getHandlerDeptId()) { |
|
|
ItemDetailForPCEndResultDTO byItemId = baseDao.getHandlerDeptIdByItemId(id); |
|
|
ItemDetailForPCEndResultDTO byItemId = baseDao.getHandlerDeptIdByItemId(id); |
|
|
handlerDeptId = byItemId.getHandlerDeptId(); |
|
|
handlerDeptId = byItemId.getHandlerDeptId(); |
|
|
} else { |
|
|
} else { |
|
|
@ -4005,17 +4005,17 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
List<String> updateList = new ArrayList<String>(); |
|
|
List<String> updateList = new ArrayList<String>(); |
|
|
String returnMsgBody = ""; |
|
|
String returnMsgBody = ""; |
|
|
List<AcceptItemDifficultyFormDTO> itemList = formDto.getItemList(); |
|
|
List<AcceptItemDifficultyFormDTO> itemList = formDto.getItemList(); |
|
|
for(int i = 0 ; i < itemList.size() ; i++){ |
|
|
for (int i = 0; i < itemList.size(); i++) { |
|
|
AcceptItemDifficultyFormDTO acceptItemDifficultyFormDTO = itemList.get(i); |
|
|
AcceptItemDifficultyFormDTO acceptItemDifficultyFormDTO = itemList.get(i); |
|
|
if("1".equals(acceptItemDifficultyFormDTO.getIsDifficulty())){ |
|
|
if ("1".equals(acceptItemDifficultyFormDTO.getIsDifficulty())) { |
|
|
updateList.add(acceptItemDifficultyFormDTO.getSerialNum()); |
|
|
updateList.add(acceptItemDifficultyFormDTO.getSerialNum()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
if(updateList.size() > 0){ |
|
|
if (updateList.size() > 0) { |
|
|
try { |
|
|
try { |
|
|
baseDao.updateBatchBySerialNum(updateList); |
|
|
baseDao.updateBatchBySerialNum(updateList); |
|
|
}catch (Exception e){ |
|
|
} catch (Exception e) { |
|
|
// 保存接口调用日志
|
|
|
// 保存接口调用日志
|
|
|
this.saveInterfaceLog("", InterfaceLogBusinessTypeEnum.ACCEPT_ITEM_PROCESS.getValue(), |
|
|
this.saveInterfaceLog("", InterfaceLogBusinessTypeEnum.ACCEPT_ITEM_PROCESS.getValue(), |
|
|
ApiConstants.acceptItemDifficulty, YesOrNoEnum.NO.value(), formDto.toString(), returnMsgBody); |
|
|
ApiConstants.acceptItemDifficulty, YesOrNoEnum.NO.value(), formDto.toString(), returnMsgBody); |
|
|
|