Commit 398d3dc1 authored by 赵啸非's avatar 赵啸非

添加申诉统计业务

parent 5787188f
...@@ -12,6 +12,7 @@ import com.mortals.xhx.busiz.rsp.*; ...@@ -12,6 +12,7 @@ import com.mortals.xhx.busiz.rsp.*;
import com.mortals.xhx.common.code.PerformTypeEnum; import com.mortals.xhx.common.code.PerformTypeEnum;
import com.mortals.xhx.common.code.ProcessStatusEnum; import com.mortals.xhx.common.code.ProcessStatusEnum;
import com.mortals.xhx.common.code.SubAddTypeEnum; import com.mortals.xhx.common.code.SubAddTypeEnum;
import com.mortals.xhx.common.code.SubMethodEnum;
import com.mortals.xhx.common.utils.BeanUtil; import com.mortals.xhx.common.utils.BeanUtil;
import com.mortals.xhx.module.check.model.*; import com.mortals.xhx.module.check.model.*;
import com.mortals.xhx.module.check.model.vo.CheckAllRecordVo; import com.mortals.xhx.module.check.model.vo.CheckAllRecordVo;
...@@ -280,6 +281,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> { ...@@ -280,6 +281,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
recordEntity.setRuleNme(rule.getName()); recordEntity.setRuleNme(rule.getName());
recordEntity.setCategoryId(rule.getCategoryId()); recordEntity.setCategoryId(rule.getCategoryId());
recordEntity.setCategoryName(rule.getCategoryName()); recordEntity.setCategoryName(rule.getCategoryName());
recordEntity.setSubMethod(SubMethodEnum.大厅巡查.getValue());
recordEntity.setCreateUserId(context.getUser().getCustomerId()); recordEntity.setCreateUserId(context.getUser().getCustomerId());
recordEntity.setCreateTime(new Date()); recordEntity.setCreateTime(new Date());
...@@ -310,7 +312,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> { ...@@ -310,7 +312,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
recordEntity.setRuleName(rule.getName()); recordEntity.setRuleName(rule.getName());
recordEntity.setCategoryId(rule.getCategoryId()); recordEntity.setCategoryId(rule.getCategoryId());
recordEntity.setCategoryName(rule.getCategoryName()); recordEntity.setCategoryName(rule.getCategoryName());
recordEntity.setSubMethod(SubMethodEnum.大厅巡查.getValue());
recordEntity.setCreateUserId(context.getUser().getCustomerId()); recordEntity.setCreateUserId(context.getUser().getCustomerId());
recordEntity.setCreateTime(new Date()); recordEntity.setCreateTime(new Date());
PerformReviewRecordEntity save = reviewRecordService.save(recordEntity); PerformReviewRecordEntity save = reviewRecordService.save(recordEntity);
...@@ -339,7 +341,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> { ...@@ -339,7 +341,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
recordEntity.setRuleName(rule.getName()); recordEntity.setRuleName(rule.getName());
recordEntity.setCategoryId(rule.getCategoryId()); recordEntity.setCategoryId(rule.getCategoryId());
recordEntity.setCategoryName(rule.getCategoryName()); recordEntity.setCategoryName(rule.getCategoryName());
recordEntity.setSubMethod(SubMethodEnum.大厅巡查.getValue());
recordEntity.setDeductTime(new Date()); recordEntity.setDeductTime(new Date());
recordEntity.setCreateUserId(context.getUser().getCustomerId()); recordEntity.setCreateUserId(context.getUser().getCustomerId());
...@@ -369,7 +371,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> { ...@@ -369,7 +371,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
recordEntity.setRuleName(rule.getName()); recordEntity.setRuleName(rule.getName());
recordEntity.setCategoryId(rule.getCategoryId()); recordEntity.setCategoryId(rule.getCategoryId());
recordEntity.setCategoryName(rule.getCategoryName()); recordEntity.setCategoryName(rule.getCategoryName());
recordEntity.setSubMethod(SubMethodEnum.大厅巡查.getValue());
recordEntity.setCreateUserId(1L); recordEntity.setCreateUserId(1L);
recordEntity.setCreateTime(new Date()); recordEntity.setCreateTime(new Date());
PerformGoworkRecordEntity save = performGoworkRecordService.save(recordEntity); PerformGoworkRecordEntity save = performGoworkRecordService.save(recordEntity);
...@@ -397,7 +399,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> { ...@@ -397,7 +399,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
recordEntity.setRuleName(rule.getName()); recordEntity.setRuleName(rule.getName());
recordEntity.setCategoryId(rule.getCategoryId()); recordEntity.setCategoryId(rule.getCategoryId());
recordEntity.setCategoryName(rule.getCategoryName()); recordEntity.setCategoryName(rule.getCategoryName());
recordEntity.setSubMethod(SubMethodEnum.大厅巡查.getValue());
recordEntity.setCreateUserId(context.getUser().getCustomerId()); recordEntity.setCreateUserId(context.getUser().getCustomerId());
recordEntity.setCreateTime(new Date()); recordEntity.setCreateTime(new Date());
PerformEffectRecordEntity save = effectRecordService.save(recordEntity); PerformEffectRecordEntity save = effectRecordService.save(recordEntity);
...@@ -425,7 +427,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> { ...@@ -425,7 +427,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
recordEntity.setRuleName(rule.getName()); recordEntity.setRuleName(rule.getName());
recordEntity.setCategoryId(rule.getCategoryId()); recordEntity.setCategoryId(rule.getCategoryId());
recordEntity.setCategoryName(rule.getCategoryName()); recordEntity.setCategoryName(rule.getCategoryName());
recordEntity.setSubMethod(SubMethodEnum.大厅巡查.getValue());
recordEntity.setCreateUserId(context.getUser().getCustomerId()); recordEntity.setCreateUserId(context.getUser().getCustomerId());
recordEntity.setCreateTime(new Date()); recordEntity.setCreateTime(new Date());
PerformOtherRecordEntity save = otherRecordService.save(recordEntity); PerformOtherRecordEntity save = otherRecordService.save(recordEntity);
......
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