diff --git a/cyx-admin/src/main/resources/templates/base/affairs/finishedstatic.html b/cyx-admin/src/main/resources/templates/base/affairs/finishedstatic.html index c7eeaeb..1992551 100644 --- a/cyx-admin/src/main/resources/templates/base/affairs/finishedstatic.html +++ b/cyx-admin/src/main/resources/templates/base/affairs/finishedstatic.html @@ -82,6 +82,8 @@ var prefix = ctx + "base/affairs"; if(window.parent.parent){ $("#type0831").val(window.parent.parent._tab_name) + }else { + $("#type0831").val('') } $(function() { var options = { diff --git a/cyx-system/src/main/resources/mapper/base/TAmentPartyAffairsMapper.xml b/cyx-system/src/main/resources/mapper/base/TAmentPartyAffairsMapper.xml index 1ba5282..597596e 100644 --- a/cyx-system/src/main/resources/mapper/base/TAmentPartyAffairsMapper.xml +++ b/cyx-system/src/main/resources/mapper/base/TAmentPartyAffairsMapper.xml @@ -271,7 +271,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN t_ament_branch e ON a.branch_id = e.branch_id LEFT JOIN sys_dept f ON a.dept_id = f.dept_id where - and a.type = #{type} + a.type = #{type} GROUP BY a.type, a.shot_name