|
|
|
@ -4070,17 +4070,72 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result supervise(AppealSuperviseResultDTO formDto){ |
|
|
|
public Result supervise(AppealSuperviseResultDTO formDTO) { |
|
|
|
ItemHandleProcessEntity process = new ItemHandleProcessEntity(); |
|
|
|
ItemEntity item = baseDao.getItemBySqid(formDTO.getSqid()); |
|
|
|
if (item == null) { |
|
|
|
return new Result().error("未查到相关项目,诉求ID:" + formDTO.getSqid()); |
|
|
|
} |
|
|
|
process.setItemId(item.getId()); |
|
|
|
process.setState(ItemGridPlatformHandleStatusEnum.HANDLE_QSJB_DB.getValue()); |
|
|
|
process.setHandleAdvice(formDTO.getDbnr()); |
|
|
|
process.setOutHandleAdvice(formDTO.getDbnr()); |
|
|
|
process.setHandlerDept("青诉即办平台"); |
|
|
|
process.setHandlerDeptId(1L); |
|
|
|
process.setGridPartyname(formDTO.getDbr()); |
|
|
|
itemHandleProcessDao.insert(process); |
|
|
|
|
|
|
|
// 更新创建时间
|
|
|
|
process.setCreatedTime(DateUtils.parse(formDTO.getDbsj(), DateUtils.DATE_TIME_PATTERN)); |
|
|
|
itemHandleProcessDao.updateById(process); |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result reportReject(AppealWhistleReportRejectResultDTO formDto){ |
|
|
|
public Result reportReject(AppealWhistleReportRejectResultDTO formDTO) { |
|
|
|
ItemHandleProcessEntity process = new ItemHandleProcessEntity(); |
|
|
|
ItemEntity item = baseDao.getItemBySqid(formDTO.getSqid()); |
|
|
|
if (item == null) { |
|
|
|
return new Result().error("未查到相关项目,诉求ID:" + formDTO.getSqid()); |
|
|
|
} |
|
|
|
process.setItemId(item.getId()); |
|
|
|
process.setState(ItemGridPlatformHandleStatusEnum.HANDLE_QSJB_DB.getValue()); |
|
|
|
process.setHandleAdvice(formDTO.getBhyy()); |
|
|
|
process.setOutHandleAdvice(formDTO.getBhyy()); |
|
|
|
process.setHandlerDept("青诉即办平台"); |
|
|
|
process.setHandlerDeptId(1L); |
|
|
|
process.setGridPartyid(formDTO.getBhrId()); |
|
|
|
process.setGridPartyname(formDTO.getBhr()); |
|
|
|
itemHandleProcessDao.insert(process); |
|
|
|
|
|
|
|
// 更新创建时间
|
|
|
|
process.setCreatedTime(DateUtils.parse(formDTO.getBhsj(), DateUtils.DATE_TIME_PATTERN)); |
|
|
|
itemHandleProcessDao.updateById(process); |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result feedback(AppealWhistleFeedbackResultDTO formDto){ |
|
|
|
public Result feedback(AppealWhistleFeedbackResultDTO formDTO) { |
|
|
|
ItemHandleProcessEntity process = new ItemHandleProcessEntity(); |
|
|
|
ItemEntity item = baseDao.getItemBySqid(formDTO.getSqid()); |
|
|
|
if (item == null) { |
|
|
|
return new Result().error("未查到相关项目,诉求ID:" + formDTO.getSqid()); |
|
|
|
} |
|
|
|
process.setItemId(item.getId()); |
|
|
|
process.setState(ItemGridPlatformHandleStatusEnum.HANDLE_QSJB_DB.getValue()); |
|
|
|
process.setHandleAdvice(formDTO.getCljg()); |
|
|
|
process.setOutHandleAdvice(formDTO.getCljg()); |
|
|
|
process.setHandlerDept("青诉即办平台"); |
|
|
|
process.setHandlerDeptId(1L); |
|
|
|
process.setGridPartyid(formDTO.getClrId()); |
|
|
|
process.setGridPartyname(formDTO.getClr()); |
|
|
|
process.setGridUnitid(formDTO.getCldwId()); |
|
|
|
process.setGridUnitname(formDTO.getCldw()); |
|
|
|
itemHandleProcessDao.insert(process); |
|
|
|
|
|
|
|
// 更新创建时间
|
|
|
|
process.setCreatedTime(DateUtils.parse(formDTO.getFksj(), DateUtils.DATE_TIME_PATTERN)); |
|
|
|
itemHandleProcessDao.updateById(process); |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|
} |
|
|
|
|