Explorar o código

陈航-信息查询部分修改

953954216 %!s(int64=2) %!d(string=hai) anos
pai
achega
3638a9d64a

+ 1 - 0
ruoyi-modules/mz-business-lrgl/src/main/resources/mapper/business/ZwywLrJbxxMapper.xml

@@ -164,6 +164,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectZwywLrJbxxCxList" parameterType="ZwywLrJbxx" resultMap="ZwywLrJbxxResult">
         select id, lr_xm, lr_zjhm, lr_xb, getxzqhmcbycode(lr_sbdz) as lr_sbdz_name from zwyw_lr_jbxx
         <where>
+            state = '1'
             <if test="lrSbdz != null  and lrSbdz != ''"> and lr_sbdz IN ( SELECT CODE FROM SYS_DEPT_JL WHERE FIND_IN_SET(#{lrSbdz},ancestors) OR CODE = #{lrSbdz} )</if>
             <if test="lrHjdz != null  and lrHjdz != ''"> and lr_hjdz IN ( SELECT CODE FROM SYS_DEPT_JL WHERE FIND_IN_SET(#{lrHjdz},ancestors) OR CODE = #{lrHjdz} )</if>
             <if test="lrXjdz != null  and lrXjdz != ''"> and lr_xjdz IN ( SELECT CODE FROM SYS_DEPT_JL WHERE FIND_IN_SET(#{lrXjdz},ancestors) OR CODE = #{lrXjdz} )</if>

+ 2 - 0
ruoyi-modules/mz-organization-yggl/src/main/resources/mapper/organization/YljgYgJbxxMapper.xml

@@ -401,6 +401,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="isGbmy != null  and isGbmy != ''"> and is_gbmy = #{isGbmy}</if>
             <if test="jgmc != null  and jgmc != ''"> and jgmc like concat('%', #{jgmc}, '%')</if>
             )
+            AND a.state = '1'
             AND a.create_user_type = '01'
             AND a.zzzt = '1'
             <if test="xm != null  and xm != ''"> and a.xm like concat('%', #{xm}, '%')</if>
@@ -587,6 +588,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         LEFT JOIN yljg_bmxx c ON a.shbn = c.id
         <where>
             a.create_user_type = '02'
+            a.state = '1'
             AND a.zzzt = '1'
             AND b.sczt = '01'
             <if test="xzqhId != null and isBj == 0"> and b.ssxzqh IN ( SELECT CODE FROM SYS_DEPT_JL WHERE FIND_IN_SET(#{xzqhId},ancestors) OR CODE = #{xzqhId} )</if>

+ 1 - 1
ruoyi-ui/src/views/search/xxcx/lrxx/lrjbxx/index.vue

@@ -388,7 +388,7 @@ export default {
 				isLs: null,
 				lrCjlx: null,
 				isDb: null,
-				lzzt: '2'
+				// lzzt: '2'
 			},
 			advancedQueryParams: {
 				pageNum: 1,