Commit fa027135 authored by 廖旭伟's avatar 廖旭伟

绩效异常消息详情增加返回申述信息

parent eb645521
......@@ -10,7 +10,10 @@ import com.mortals.xhx.common.code.PerformTypeEnum;
import com.mortals.xhx.common.code.SubAddTypeEnum;
import com.mortals.xhx.module.check.model.*;
import com.mortals.xhx.module.check.service.*;
import com.mortals.xhx.module.perform.model.PerformAttendAppealEntity;
import com.mortals.xhx.module.perform.model.PerformAttendAppealQuery;
import com.mortals.xhx.module.perform.model.PerformErrorMessageEntity;
import com.mortals.xhx.module.perform.service.PerformAttendAppealService;
import com.mortals.xhx.module.perform.service.PerformErrorMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils;
......@@ -45,6 +48,8 @@ public class PerformErrorMessageController extends BaseCRUDJsonBodyMappingContro
private CheckComplainRecordService checkComplainRecordService;
@Autowired
private CheckOtherRecordService checkOtherRecordService;
@Autowired
private PerformAttendAppealService performAttendAppealService;
public PerformErrorMessageController(){
super.setModuleDesc( "绩效异常信息");
......@@ -109,6 +114,13 @@ public class PerformErrorMessageController extends BaseCRUDJsonBodyMappingContro
if (!ObjectUtils.isEmpty(context) && !ObjectUtils.isEmpty(context.getUser())) {
this.recordSysLog(this.request, busiDesc + " 【成功】");
}
if(entity.getAppealStatus()!=0) {
PerformAttendAppealQuery appealQuery = new PerformAttendAppealQuery();
appealQuery.setCheckRecordId(entity.getCheckRecordId());
appealQuery.setPerformType(entity.getPerformType());
PerformAttendAppealEntity appealEntity = performAttendAppealService.selectOne(appealQuery);
ret.put("appealData", appealEntity);
}
} catch (Exception var8) {
this.doException(this.request, busiDesc, model, var8);
Object msg = model.get("message_info");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment