From 8aa657a1cba79fcf75811b70250d6fa8e53ee569 Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Fri, 16 Apr 2021 14:59:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E6=A0=87=E5=BA=93=E6=96=B0=E5=A2=9Ewe?= =?UTF-8?q?b=E9=A1=B5=E9=9D=A2=E6=A0=91=E5=BD=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pojo/bos/indexgeneral/IndexGeneralBO.java | 10 ++-- .../dtos/indexgeneral/IndexGeneralDTO.java | 24 +++++----- .../pojo/pos/indexgeneral/IndexGeneralPO.java | 10 ++-- .../pojo/vos/indexgeneral/IndexGeneralVO.java | 24 +++++----- .../BasicCheckPersonActionServiceImpl.java | 1 + .../impl/BasicCheckPersonInfoServiceImpl.java | 1 + .../impl/DutyListFormServiceImpl.java | 2 + .../impl/IndexGeneralServiceImpl.java | 6 +++ .../indexlib/impl/IndexLibServiceImpl.java | 10 ++-- .../impl/PartyPunishInfoServiceImpl.java | 1 + .../impl/ProblemClueServiceImpl.java | 1 + .../impl/SuperviseCheckServiceImpl.java | 1 + .../basicCheckPersonAction-mapper.xml | 10 +++- .../basicCheckPersonInfo-mapper.xml | 10 +++- .../dutylistform/dutylistform-mapper.xml | 10 +++- .../indexGeneral/indexGeneral-mapper.xml | 46 ++++++++++++------- .../mapper/indexLib/indexLib-mapper.xml | 6 ++- .../partyPunishInfo-mapper.xml | 10 +++- .../mapper/problemClue/problemClue-mapper.xml | 19 ++++++-- .../superviseCheck/superviseCheck-mapper.xml | 24 +++++++--- .../route/basicCheckPersonAction/list.html | 13 +++--- .../route/basicCheckPersonInfo/list.html | 13 +++--- .../static/route/indexGeneral/list.html | 4 +- .../static/route/indexGeneral/save.html | 8 ++-- .../static/route/indexGeneral/show.html | 4 +- .../static/route/indexGeneral/update.html | 4 +- .../static/route/partyPunishInfo/list.html | 13 +++--- .../list-party-clean-meeting.html | 13 +++--- .../static/route/problemClue/list.html | 12 ++--- .../static/route/superviseCheck/list.html | 13 +++--- .../static/route/superviseCheck/show.html | 5 +- 31 files changed, 210 insertions(+), 118 deletions(-) diff --git a/src/main/java/com/tenlion/twoduty/pojo/bos/indexgeneral/IndexGeneralBO.java b/src/main/java/com/tenlion/twoduty/pojo/bos/indexgeneral/IndexGeneralBO.java index da2e6bc..4419172 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/bos/indexgeneral/IndexGeneralBO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/bos/indexgeneral/IndexGeneralBO.java @@ -11,7 +11,7 @@ package com.tenlion.twoduty.pojo.bos.indexgeneral; public class IndexGeneralBO { private String indexGeneralId; - private String indexLibId; + private String dutyIndexLibId; private String indexGeneralTitle; private String indexGeneralContent; private String indexGeneralFile; @@ -31,12 +31,12 @@ public class IndexGeneralBO { this.indexGeneralId = indexGeneralId; } - public String getIndexLibId() { - return indexLibId == null ? "" : indexLibId.trim(); + public String getDutyIndexLibId() { + return dutyIndexLibId; } - public void setIndexLibId(String indexLibId) { - this.indexLibId = indexLibId; + public void setDutyIndexLibId(String dutyIndexLibId) { + this.dutyIndexLibId = dutyIndexLibId; } public String getIndexGeneralTitle() { diff --git a/src/main/java/com/tenlion/twoduty/pojo/dtos/indexgeneral/IndexGeneralDTO.java b/src/main/java/com/tenlion/twoduty/pojo/dtos/indexgeneral/IndexGeneralDTO.java index 82c0fdf..1bf8dfd 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/dtos/indexgeneral/IndexGeneralDTO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/dtos/indexgeneral/IndexGeneralDTO.java @@ -16,10 +16,10 @@ public class IndexGeneralDTO { @ApiModelProperty(name = "indexGeneralId", value = "通用上报模板ID") private String indexGeneralId; - @ApiModelProperty(name = "indexLibId", value = "指标ID") - private String indexLibId; - @ApiModelProperty(name = "indexLibName", value = "指标名称") - private String indexLibName; + @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") + private String dutyIndexLibId; + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; @ApiModelProperty(name = "indexGeneralTitle", value = "上报标题") private String indexGeneralTitle; @ApiModelProperty(name = "indexGeneralContent", value = "上报正文") @@ -44,20 +44,20 @@ public class IndexGeneralDTO { this.indexGeneralId = indexGeneralId; } - public String getIndexLibId() { - return indexLibId == null ? "" : indexLibId.trim(); + public String getDutyIndexLibId() { + return dutyIndexLibId; } - public void setIndexLibId(String indexLibId) { - this.indexLibId = indexLibId; + public void setDutyIndexLibId(String dutyIndexLibId) { + this.dutyIndexLibId = dutyIndexLibId; } - public String getIndexLibName() { - return indexLibName; + public String getDutyIndexLibName() { + return dutyIndexLibName; } - public void setIndexLibName(String indexLibName) { - this.indexLibName = indexLibName; + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; } public String getIndexGeneralTitle() { diff --git a/src/main/java/com/tenlion/twoduty/pojo/pos/indexgeneral/IndexGeneralPO.java b/src/main/java/com/tenlion/twoduty/pojo/pos/indexgeneral/IndexGeneralPO.java index 681a552..43bf65b 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/pos/indexgeneral/IndexGeneralPO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/pos/indexgeneral/IndexGeneralPO.java @@ -11,7 +11,7 @@ package com.tenlion.twoduty.pojo.pos.indexgeneral; public class IndexGeneralPO { private String indexGeneralId; - private String indexLibId; + private String dutyIndexLibId; private String indexGeneralTitle; private String indexGeneralContent; private String indexGeneralFile; @@ -31,12 +31,12 @@ public class IndexGeneralPO { this.indexGeneralId = indexGeneralId; } - public String getIndexLibId() { - return indexLibId == null ? "" : indexLibId.trim(); + public String getDutyIndexLibId() { + return dutyIndexLibId; } - public void setIndexLibId(String indexLibId) { - this.indexLibId = indexLibId; + public void setDutyIndexLibId(String dutyIndexLibId) { + this.dutyIndexLibId = dutyIndexLibId; } public String getIndexGeneralTitle() { diff --git a/src/main/java/com/tenlion/twoduty/pojo/vos/indexgeneral/IndexGeneralVO.java b/src/main/java/com/tenlion/twoduty/pojo/vos/indexgeneral/IndexGeneralVO.java index 1bafa2d..a9feb97 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/vos/indexgeneral/IndexGeneralVO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/vos/indexgeneral/IndexGeneralVO.java @@ -18,10 +18,10 @@ public class IndexGeneralVO { @ApiModelProperty(name = "indexGeneralId", value = "通用上报模板ID") private String indexGeneralId; - @ApiModelProperty(name = "indexLibId", value = "指标ID") - private String indexLibId; - @ApiModelProperty(name = "indexLibIdName", value = "指标名称") - private String indexLibIdName; + @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") + private String dutyIndexLibId; + @ApiModelProperty(name = "dutyIndexLibIdName", value = "指标名称") + private String dutyIndexLibIdName; @ApiModelProperty(name = "indexGeneralTitle", value = "上报标题") private String indexGeneralTitle; @@ -42,20 +42,20 @@ public class IndexGeneralVO { this.indexGeneralId = indexGeneralId; } - public String getIndexLibId() { - return indexLibId == null ? "" : indexLibId.trim(); + public String getDutyIndexLibId() { + return dutyIndexLibId; } - public void setIndexLibId(String indexLibId) { - this.indexLibId = indexLibId; + public void setDutyIndexLibId(String dutyIndexLibId) { + this.dutyIndexLibId = dutyIndexLibId; } - public String getIndexLibIdName() { - return indexLibIdName; + public String getDutyIndexLibIdName() { + return dutyIndexLibIdName; } - public void setIndexLibIdName(String indexLibIdName) { - this.indexLibIdName = indexLibIdName; + public void setDutyIndexLibIdName(String dutyIndexLibIdName) { + this.dutyIndexLibIdName = dutyIndexLibIdName; } public String getIndexGeneralTitle() { diff --git a/src/main/java/com/tenlion/twoduty/service/basiccheckpersonaction/impl/BasicCheckPersonActionServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/basiccheckpersonaction/impl/BasicCheckPersonActionServiceImpl.java index a30e8bf..6f57aae 100644 --- a/src/main/java/com/tenlion/twoduty/service/basiccheckpersonaction/impl/BasicCheckPersonActionServiceImpl.java +++ b/src/main/java/com/tenlion/twoduty/service/basiccheckpersonaction/impl/BasicCheckPersonActionServiceImpl.java @@ -148,6 +148,7 @@ public class BasicCheckPersonActionServiceImpl extends DefaultBaseService implem @Override public List list(Map params) { + params.put("creator",securityComponent.getCurrentUser().getUserId()); return basicCheckPersonActionDao.list(params); } diff --git a/src/main/java/com/tenlion/twoduty/service/basiccheckpersoninfo/impl/BasicCheckPersonInfoServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/basiccheckpersoninfo/impl/BasicCheckPersonInfoServiceImpl.java index 6c080ee..9949a8c 100644 --- a/src/main/java/com/tenlion/twoduty/service/basiccheckpersoninfo/impl/BasicCheckPersonInfoServiceImpl.java +++ b/src/main/java/com/tenlion/twoduty/service/basiccheckpersoninfo/impl/BasicCheckPersonInfoServiceImpl.java @@ -148,6 +148,7 @@ public class BasicCheckPersonInfoServiceImpl extends DefaultBaseService implemen @Override public List list(Map params) { + params.put("creator",securityComponent.getCurrentUser().getUserId()); return basicCheckPersonInfoDao.list(params); } diff --git a/src/main/java/com/tenlion/twoduty/service/dutylistform/impl/DutyListFormServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/dutylistform/impl/DutyListFormServiceImpl.java index 865406c..9fa580d 100644 --- a/src/main/java/com/tenlion/twoduty/service/dutylistform/impl/DutyListFormServiceImpl.java +++ b/src/main/java/com/tenlion/twoduty/service/dutylistform/impl/DutyListFormServiceImpl.java @@ -34,6 +34,7 @@ public class DutyListFormServiceImpl extends DefaultBaseService implements IDuty @Override public SuccessResultList> listPagePartyCleanMeeting(ListPage page) { PageHelper.startPage(page.getPage(), page.getRows()); + page.getParams().put("creator",securityComponent.getCurrentUser().getUserId()); List dtoList = dutyListFormDao.listPartyCleanMeeting(page.getParams()); PageInfo pageInfo = new PageInfo<>(dtoList); return new SuccessResultList<>(dtoList,pageInfo.getPageNum(),pageInfo.getTotal()); @@ -76,6 +77,7 @@ public class DutyListFormServiceImpl extends DefaultBaseService implements IDuty @Override public SuccessResultList> listPageHeartTalk(ListPage page) { PageHelper.startPage(page.getPage(), page.getRows()); + page.getParams().put("creator",securityComponent.getCurrentUser().getUserId()); List dtoList = dutyListFormDao.listHeartTalk(page.getParams()); PageInfo pageInfo = new PageInfo<>(dtoList); return new SuccessResultList<>(dtoList,pageInfo.getPageNum(),pageInfo.getTotal()); diff --git a/src/main/java/com/tenlion/twoduty/service/indexgeneral/impl/IndexGeneralServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/indexgeneral/impl/IndexGeneralServiceImpl.java index 1c06b13..5ff31b6 100644 --- a/src/main/java/com/tenlion/twoduty/service/indexgeneral/impl/IndexGeneralServiceImpl.java +++ b/src/main/java/com/tenlion/twoduty/service/indexgeneral/impl/IndexGeneralServiceImpl.java @@ -1,6 +1,8 @@ package com.tenlion.twoduty.service.indexgeneral.impl; +import com.tenlion.twoduty.utils.AuditStatusEnum; import ink.wgink.common.base.DefaultBaseService; +import ink.wgink.common.component.SecurityComponent; import ink.wgink.pojo.ListPage; import ink.wgink.pojo.result.SuccessResult; import ink.wgink.pojo.result.SuccessResultList; @@ -33,6 +35,7 @@ public class IndexGeneralServiceImpl extends DefaultBaseService implements IInde @Autowired private IIndexGeneralDao indexGeneralDao; + @Override public void save(IndexGeneralVO indexGeneralVO) { saveReturnId(indexGeneralVO); @@ -50,6 +53,7 @@ public class IndexGeneralServiceImpl extends DefaultBaseService implements IInde @Override public String saveReturnId(String token, IndexGeneralVO indexGeneralVO) { + indexGeneralVO.setAuditStatus(Integer.parseInt(AuditStatusEnum.NORMAL.getAuditStatus())); String indexGeneralId = UUIDUtil.getUUID(); Map params = HashMapUtil.beanToMap(indexGeneralVO); params.put("indexGeneralId", indexGeneralId); @@ -93,6 +97,7 @@ public class IndexGeneralServiceImpl extends DefaultBaseService implements IInde @Override public void update(String token, String indexGeneralId, IndexGeneralVO indexGeneralVO) { + indexGeneralVO.setAuditStatus(Integer.parseInt(AuditStatusEnum.NORMAL.getAuditStatus())); Map params = HashMapUtil.beanToMap(indexGeneralVO); params.put("indexGeneralId", indexGeneralId); if (StringUtils.isBlank(token)) { @@ -141,6 +146,7 @@ public class IndexGeneralServiceImpl extends DefaultBaseService implements IInde @Override public List list(Map params) { + params.put("creator",securityComponent.getCurrentUser().getUserId()); return indexGeneralDao.list(params); } diff --git a/src/main/java/com/tenlion/twoduty/service/indexlib/impl/IndexLibServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/indexlib/impl/IndexLibServiceImpl.java index 77d97b6..522d61f 100644 --- a/src/main/java/com/tenlion/twoduty/service/indexlib/impl/IndexLibServiceImpl.java +++ b/src/main/java/com/tenlion/twoduty/service/indexlib/impl/IndexLibServiceImpl.java @@ -5,6 +5,7 @@ import com.tenlion.twoduty.pojo.dtos.indexlib.IndexLibZTreeDTO; import com.tenlion.twoduty.pojo.dtos.indextemplate.IndexTemplateDTO; import com.tenlion.twoduty.service.indextemplate.IIndexTemplateService; import ink.wgink.common.base.DefaultBaseService; +import ink.wgink.common.component.SecurityComponent; import ink.wgink.pojo.ListPage; import ink.wgink.pojo.result.SuccessResult; import ink.wgink.pojo.result.SuccessResultList; @@ -39,6 +40,8 @@ public class IndexLibServiceImpl extends DefaultBaseService implements IIndexLib private IIndexLibDao indexLibDao; @Autowired private IIndexTemplateService indexTemplateService; + @Autowired + private SecurityComponent securityComponent; public IndexLibCountDTO countIndexLib(String indexLibParentId){ Integer count1 = 0; @@ -57,14 +60,15 @@ public class IndexLibServiceImpl extends DefaultBaseService implements IIndexLib List list = this.list(params); for (IndexLibDTO indexLibDTO : list) { String templateId = indexLibDTO.getIndexTemplateId(); - if (StringUtils.isBlank(templateId)) { + if (!StringUtils.isBlank(templateId)) { IndexTemplateDTO indexTemplateDTO = indexTemplateService.get(templateId); String templateTableName = indexTemplateDTO.getIndexTemplateTableName(); - if (StringUtils.isBlank(templateTableName)) { + if (!StringUtils.isBlank(templateTableName)) { //统计 Map counts = new HashMap(); counts.put("tableName",templateTableName); - counts.put("indexLibId",indexLibZTreeDTO.getId()); + counts.put("indexLibId",indexLibDTO.getIndexLibId()); + counts.put("creator",securityComponent.getCurrentUser().getUserId()); IndexLibCountDTO indexLibCountDTO = indexLibDao.countIndexLibAuditStatusNum(counts); count1 += indexLibCountDTO.getCount1(); count2 += indexLibCountDTO.getCount2(); diff --git a/src/main/java/com/tenlion/twoduty/service/partypunishinfo/impl/PartyPunishInfoServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/partypunishinfo/impl/PartyPunishInfoServiceImpl.java index 75cfd85..30dd09f 100644 --- a/src/main/java/com/tenlion/twoduty/service/partypunishinfo/impl/PartyPunishInfoServiceImpl.java +++ b/src/main/java/com/tenlion/twoduty/service/partypunishinfo/impl/PartyPunishInfoServiceImpl.java @@ -148,6 +148,7 @@ public class PartyPunishInfoServiceImpl extends DefaultBaseService implements IP @Override public List list(Map params) { + params.put("creator",securityComponent.getCurrentUser().getUserId()); return partyPunishInfoDao.list(params); } diff --git a/src/main/java/com/tenlion/twoduty/service/problemclue/impl/ProblemClueServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/problemclue/impl/ProblemClueServiceImpl.java index 9646505..531ea63 100644 --- a/src/main/java/com/tenlion/twoduty/service/problemclue/impl/ProblemClueServiceImpl.java +++ b/src/main/java/com/tenlion/twoduty/service/problemclue/impl/ProblemClueServiceImpl.java @@ -148,6 +148,7 @@ public class ProblemClueServiceImpl extends DefaultBaseService implements IProbl @Override public List list(Map params) { + params.put("creator",securityComponent.getCurrentUser().getUserId()); return problemClueDao.list(params); } diff --git a/src/main/java/com/tenlion/twoduty/service/supervisecheck/impl/SuperviseCheckServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/supervisecheck/impl/SuperviseCheckServiceImpl.java index 2da5abd..61e6064 100644 --- a/src/main/java/com/tenlion/twoduty/service/supervisecheck/impl/SuperviseCheckServiceImpl.java +++ b/src/main/java/com/tenlion/twoduty/service/supervisecheck/impl/SuperviseCheckServiceImpl.java @@ -148,6 +148,7 @@ public class SuperviseCheckServiceImpl extends DefaultBaseService implements ISu @Override public List list(Map params) { + params.put("creator",securityComponent.getCurrentUser().getUserId()); return superviseCheckDao.list(params); } diff --git a/src/main/resources/mybatis/mapper/basicCheckPersonAction/basicCheckPersonAction-mapper.xml b/src/main/resources/mybatis/mapper/basicCheckPersonAction/basicCheckPersonAction-mapper.xml index 3f592ff..646f1a8 100644 --- a/src/main/resources/mybatis/mapper/basicCheckPersonAction/basicCheckPersonAction-mapper.xml +++ b/src/main/resources/mybatis/mapper/basicCheckPersonAction/basicCheckPersonAction-mapper.xml @@ -5,6 +5,7 @@ + @@ -162,9 +163,12 @@ t1.work_measures, t1.complete_info, t1.remarks, - t1.audit_status + t1.audit_status, + t2.index_lib_name duty_index_lib_name FROM t_basic_check_person_action t1 + LEFT JOIN duty_index_lib t2 + ON t1.duty_index_lib_id = t2.index_lib_id WHERE t1.is_delete = 0 AND @@ -262,6 +266,10 @@ AND t1.audit_status = #{auditStatus} + + AND t1.creator = #{creator} + + ORDER BY t1.gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/basicCheckPersonInfo/basicCheckPersonInfo-mapper.xml b/src/main/resources/mybatis/mapper/basicCheckPersonInfo/basicCheckPersonInfo-mapper.xml index 0796ed6..fa202bd 100644 --- a/src/main/resources/mybatis/mapper/basicCheckPersonInfo/basicCheckPersonInfo-mapper.xml +++ b/src/main/resources/mybatis/mapper/basicCheckPersonInfo/basicCheckPersonInfo-mapper.xml @@ -5,6 +5,7 @@ + @@ -224,9 +225,12 @@ t1.join_party_time, t1.join_work_time, t1.remarks, - t1.audit_status + t1.audit_status, + t2.index_lib_name duty_index_lib_name FROM t_basic_check_person_info t1 + LEFT JOIN duty_index_lib t2 + ON t1.duty_index_lib_id = t2.index_lib_id WHERE t1.is_delete = 0 AND @@ -343,6 +347,10 @@ AND t1.audit_status = #{auditStatus} + + AND t1.creator = #{creator} + + ORDER BY t1.gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/dutylistform/dutylistform-mapper.xml b/src/main/resources/mybatis/mapper/dutylistform/dutylistform-mapper.xml index 7ac05c8..9cb993e 100644 --- a/src/main/resources/mybatis/mapper/dutylistform/dutylistform-mapper.xml +++ b/src/main/resources/mybatis/mapper/dutylistform/dutylistform-mapper.xml @@ -43,6 +43,10 @@ AND LEFT(t1.meeting_time, 10) #{endTime} + + AND t1.creator = #{creator} + + ORDER BY t1.gmt_create DESC SELECT t1.index_general_id, - t1.index_lib_id, + t1.duty_index_lib_id, t1.index_general_title, t1.index_general_content, t1.index_general_file, @@ -145,11 +145,11 @@ t1.index_general_id, t1.gmt_create, t1.creator, - t2.index_lib_name + t2.index_lib_name duty_index_lib_name FROM duty_index_general t1 LEFT JOIN duty_index_lib t2 - ON t1.index_lib_id = t2.index_lib_id + ON t1.duty_index_lib_id = t2.index_lib_id WHERE t1.is_delete = 0 @@ -162,7 +162,7 @@ SELECT t1.index_general_id, - t1.index_lib_id, + t1.duty_index_lib_id, t1.index_general_title, t1.index_general_content, t1.index_general_file, @@ -212,7 +212,7 @@ @@ -260,7 +272,7 @@ SELECT t1.index_general_id, - t1.index_lib_id, + t1.duty_index_lib_id, t1.index_general_title, t1.index_general_content, t1.index_general_file, diff --git a/src/main/resources/mybatis/mapper/indexLib/indexLib-mapper.xml b/src/main/resources/mybatis/mapper/indexLib/indexLib-mapper.xml index 6a0c07e..3b9bfd3 100644 --- a/src/main/resources/mybatis/mapper/indexLib/indexLib-mapper.xml +++ b/src/main/resources/mybatis/mapper/indexLib/indexLib-mapper.xml @@ -438,7 +438,11 @@ COUNT(CASE WHEN `audit_status` = -1 THEN 1 ELSE NULL END) AS 'count_4' FROM ${tableName} - WHERE is_delete = 0 AND index_lib_id = #{indexLibId} + WHERE is_delete = 0 AND duty_index_lib_id = #{indexLibId} + + AND creator = #{creator} + + \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/partyPunishInfo/partyPunishInfo-mapper.xml b/src/main/resources/mybatis/mapper/partyPunishInfo/partyPunishInfo-mapper.xml index 1f7d1ca..1c8835c 100644 --- a/src/main/resources/mybatis/mapper/partyPunishInfo/partyPunishInfo-mapper.xml +++ b/src/main/resources/mybatis/mapper/partyPunishInfo/partyPunishInfo-mapper.xml @@ -5,6 +5,7 @@ + @@ -225,10 +226,13 @@ t1.year_bonus_info, t1.achievement_bouns, t1.remarks, - t1.audit_status + t1.audit_status, + t2.index_lib_name duty_index_lib_name FROM t_party_punish_info t1 + LEFT JOIN duty_index_lib t2 + ON t1.duty_index_lib_id = t2.index_lib_id WHERE t1.is_delete = 0 AND @@ -347,6 +351,10 @@ AND t1.audit_status = {auditStatus} + + AND t1.creator = #{creator} + + ORDER BY t1.gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/problemClue/problemClue-mapper.xml b/src/main/resources/mybatis/mapper/problemClue/problemClue-mapper.xml index 1da0fbc..ea888ca 100644 --- a/src/main/resources/mybatis/mapper/problemClue/problemClue-mapper.xml +++ b/src/main/resources/mybatis/mapper/problemClue/problemClue-mapper.xml @@ -5,6 +5,7 @@ + @@ -244,12 +245,16 @@ t1.over_status, t1.case_result, t1.remarks, - t1.audit_status + t1.audit_status, + t2.index_lib_name duty_index_lib_name FROM t_problem_clue t1 + LEFT JOIN duty_index_lib t2 + ON t1.duty_index_lib_id = t2.index_lib_id WHERE t1.is_delete = 0 - + AND + t1.report_id = #{reportId} @@ -283,7 +288,8 @@ t_problem_clue t1 WHERE t1.is_delete = 0 - + AND + t1.report_id = #{reportId} @@ -317,7 +323,8 @@ t_problem_clue t1 WHERE t1.is_delete = 0 - + AND + t1.report_id = #{reportId} @@ -368,6 +375,10 @@ AND t1.audit_status = #{auditStatus} + + AND t1.creator = #{creator} + + ORDER BY t1.gmt_create DESC diff --git a/src/main/resources/mybatis/mapper/superviseCheck/superviseCheck-mapper.xml b/src/main/resources/mybatis/mapper/superviseCheck/superviseCheck-mapper.xml index ea17c46..7053bda 100644 --- a/src/main/resources/mybatis/mapper/superviseCheck/superviseCheck-mapper.xml +++ b/src/main/resources/mybatis/mapper/superviseCheck/superviseCheck-mapper.xml @@ -5,6 +5,7 @@ + @@ -173,12 +174,16 @@ t1.check_content, t1.check_problem, t1.check_result, - t1.audit_status + t1.audit_status, + t2.index_lib_name duty_index_lib_name FROM t_supervise_check t1 + LEFT JOIN duty_index_lib t2 + ON t1.duty_index_lib_id = t2.index_lib_id WHERE t1.is_delete = 0 - + AND + t1.report_id = #{reportId} @@ -204,7 +209,8 @@ t_supervise_check t1 WHERE t1.is_delete = 0 - + AND + t1.report_id = #{reportId} @@ -230,7 +236,8 @@ t_supervise_check t1 WHERE t1.is_delete = 0 - + AND + t1.report_id = #{reportId} @@ -254,7 +261,7 @@ AND ( - t1.id LIKE CONCAT('%', #{keywords}, '%') + t1.check_place LIKE CONCAT('%', #{keywords}, '%') ) @@ -271,6 +278,9 @@ AND t1.audit_status = #{auditStatus} + + AND t1.creator = #{creator} + @@ -299,7 +309,7 @@ AND ( - t1.id LIKE CONCAT('%', #{keywords}, '%') + t1.check_place LIKE CONCAT('%', #{keywords}, '%') ) @@ -341,7 +351,7 @@ AND ( - t1.id LIKE CONCAT('%', #{keywords}, '%') + t1.check_place LIKE CONCAT('%', #{keywords}, '%') ) diff --git a/src/main/resources/static/route/basicCheckPersonAction/list.html b/src/main/resources/static/route/basicCheckPersonAction/list.html index dad439b..03e732c 100644 --- a/src/main/resources/static/route/basicCheckPersonAction/list.html +++ b/src/main/resources/static/route/basicCheckPersonAction/list.html @@ -84,12 +84,7 @@ }, cols: [ [ - {width:80, title: '操作', fixed: 'left', align:'center', - templet: function(row){ - let dom = '详情' - return dom; - } - }, + {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, {field: 'streetOrgName', width: 180, title: '街道办事处', align:'center', @@ -155,6 +150,12 @@ return rowData; } }, + {width:80, title: '操作', fixed: 'right', align:'center', + templet: function(row){ + let dom = '详情' + return dom; + } + }, ] ], page: true, diff --git a/src/main/resources/static/route/basicCheckPersonInfo/list.html b/src/main/resources/static/route/basicCheckPersonInfo/list.html index 88588b5..4a5f382 100644 --- a/src/main/resources/static/route/basicCheckPersonInfo/list.html +++ b/src/main/resources/static/route/basicCheckPersonInfo/list.html @@ -84,12 +84,7 @@ }, cols: [ [ - {width:80, title: '操作', fixed: 'left', align:'center', - templet: function(row){ - let dom = '详情' - return dom; - } - }, + {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, {field: 'orgName', width: 180, title: '单位名称', align:'center', templet: function(row) { @@ -217,6 +212,12 @@ return rowData; } }, + {width:80, title: '操作', fixed: 'right', align:'center', + templet: function(row){ + let dom = '详情' + return dom; + } + }, ] ], page: true, diff --git a/src/main/resources/static/route/indexGeneral/list.html b/src/main/resources/static/route/indexGeneral/list.html index 4b43057..740664b 100644 --- a/src/main/resources/static/route/indexGeneral/list.html +++ b/src/main/resources/static/route/indexGeneral/list.html @@ -83,7 +83,7 @@ [ /*{type:'checkbox', fixed: 'left'},*/ {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, - {field: 'indexLibName', width: 250, title: '指标名称', align:'center', + {field: 'dutyIndexLibName', width: 250, title: '指标名称', align:'center', templet: function(row) { var rowData = row[this.field]; if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { @@ -188,7 +188,7 @@ if (auditStatus === -1) { rowData +=''; } - rowData +='' + // rowData +='' rowData +=''; return rowData; } diff --git a/src/main/resources/static/route/indexGeneral/save.html b/src/main/resources/static/route/indexGeneral/save.html index a9c3f7c..c43eecb 100644 --- a/src/main/resources/static/route/indexGeneral/save.html +++ b/src/main/resources/static/route/indexGeneral/save.html @@ -25,8 +25,8 @@
- - + +
@@ -330,8 +330,8 @@ var loadLayerIndex; top.restAjax.get(top.restAjax.path('api/indexlib/get/{indexLibId}', [indexLibId]), {}, null, function(code, data) { var dataFormData = {}; - dataFormData['indexLibId'] = data.indexLibId; - dataFormData['indexLibName'] = data.indexLibName; + dataFormData['dutyIndexLibId'] = data.indexLibId; + dataFormData['dutyIndexLibName'] = data.indexLibName; form.val('dataForm', dataFormData); form.render(null, 'dataForm'); initIndexGeneralFileUploadFile(); diff --git a/src/main/resources/static/route/indexGeneral/show.html b/src/main/resources/static/route/indexGeneral/show.html index 6c8c6f7..4aa23d1 100644 --- a/src/main/resources/static/route/indexGeneral/show.html +++ b/src/main/resources/static/route/indexGeneral/show.html @@ -25,8 +25,8 @@
- - + +
diff --git a/src/main/resources/static/route/indexGeneral/update.html b/src/main/resources/static/route/indexGeneral/update.html index d7bab59..719a78b 100644 --- a/src/main/resources/static/route/indexGeneral/update.html +++ b/src/main/resources/static/route/indexGeneral/update.html @@ -25,8 +25,8 @@
- - + +
diff --git a/src/main/resources/static/route/partyPunishInfo/list.html b/src/main/resources/static/route/partyPunishInfo/list.html index 764209a..8c92fd2 100644 --- a/src/main/resources/static/route/partyPunishInfo/list.html +++ b/src/main/resources/static/route/partyPunishInfo/list.html @@ -84,12 +84,7 @@ }, cols: [ [ - {width:80, title: '操作', fixed: 'left', align:'center', - templet: function(row){ - let dom = '详情' - return dom; - } - }, + {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, {field: 'personName', width: 180, title: '姓名', align:'center', templet: function(row) { @@ -154,6 +149,12 @@ return rowData; } }, + {width:80, title: '操作', fixed: 'right', align:'center', + templet: function(row){ + let dom = '详情' + return dom; + } + }, ] ], page: true, diff --git a/src/main/resources/static/route/partycleanmeeting/list-party-clean-meeting.html b/src/main/resources/static/route/partycleanmeeting/list-party-clean-meeting.html index 1a2ee46..2dca802 100644 --- a/src/main/resources/static/route/partycleanmeeting/list-party-clean-meeting.html +++ b/src/main/resources/static/route/partycleanmeeting/list-party-clean-meeting.html @@ -103,12 +103,7 @@ }, cols: [ [ - {width:80, title: '操作', fixed: 'left', align:'center', - templet: function(row){ - let dom = '详情' - return dom; - } - }, + {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, {field: 'title', width: 250, title: '标题', align:'center', templet: function(row) { @@ -218,6 +213,12 @@ return rowData; } }, + {width:80, title: '操作', fixed: 'right', align:'center', + templet: function(row){ + let dom = '详情' + return dom; + } + }, ] ], page: true, diff --git a/src/main/resources/static/route/problemClue/list.html b/src/main/resources/static/route/problemClue/list.html index 811afc6..346654b 100644 --- a/src/main/resources/static/route/problemClue/list.html +++ b/src/main/resources/static/route/problemClue/list.html @@ -84,12 +84,6 @@ }, cols: [ [ - {width:80, title: '操作', fixed: 'left', align:'center', - templet: function(row){ - let dom = '详情' - return dom; - } - }, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, {field: 'caseNumber', width: 180, title: '案件号', align:'center', templet: function(row) { @@ -253,6 +247,12 @@ return rowData; } }, + {width:80, title: '操作', fixed: 'right', align:'center', + templet: function(row){ + let dom = '详情' + return dom; + } + }, ] ], page: true, diff --git a/src/main/resources/static/route/superviseCheck/list.html b/src/main/resources/static/route/superviseCheck/list.html index dd02a9e..dc9569b 100644 --- a/src/main/resources/static/route/superviseCheck/list.html +++ b/src/main/resources/static/route/superviseCheck/list.html @@ -84,12 +84,7 @@ }, cols: [ [ - {width:80, title: '操作', fixed: 'left', align:'center', - templet: function(row){ - let dom = '详情' - return dom; - } - }, + {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, {field: 'checkPlace', width: 180, title: '检查地点', align:'center', templet: function(row) { @@ -154,6 +149,12 @@ return rowData; } }, + {width:80, title: '操作', fixed: 'right', align:'center', + templet: function(row){ + let dom = '详情' + return dom; + } + }, ] ], page: true, diff --git a/src/main/resources/static/route/superviseCheck/show.html b/src/main/resources/static/route/superviseCheck/show.html index 472618b..fd79a9b 100644 --- a/src/main/resources/static/route/superviseCheck/show.html +++ b/src/main/resources/static/route/superviseCheck/show.html @@ -17,9 +17,10 @@
- +
- + +