Forráskód Böngészése

Merge branch '陈航-修改部门coding问题' of sckj/mz-cloud into master

953954216 2 éve
szülő
commit
9f4a5fea5e

+ 1 - 1
ruoyi-modules/mz-organization-rcyy/src/main/java/com/ruoyi/organization/domain/YljgJzxx.java

@@ -154,6 +154,6 @@ public class YljgJzxx extends BaseEntity
     private String ssxzqh;
 
     @TableField(exist = false)
-    private String isJc;
+    private String isCl;
 
 }

+ 2 - 2
ruoyi-modules/mz-organization-rcyy/src/main/resources/mapper/business/YljgJzxxMapper.xml

@@ -28,13 +28,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="updateBy"    column="update_by"    />
         <result property="updateUnit"    column="update_unit"    />
         <result property="updateUnitName"    column="update_unit_name"    />
-        <result property="isJc"    column="is_jc"    />
+        <result property="isCl"    column="is_cl"    />
     </resultMap>
 
 
     <select id="selectYljgJzxxList" parameterType="YljgJzxx" resultMap="YljgJzxxResult">
         select
-        ( SELECT COUNT(0) FROM zwyw_jg_hcjl where jzxx_id = a.id ) as is_jc,
+        ( SELECT COUNT(0) FROM zwyw_jg_hcjl where jzxx_id = a.id ) as is_cl,
         b.jgmc, b.tyshxydm, getxzqhmcbycode(b.szxzqh) szxzqh_name, b.txdz, a.*
         from yljg_jzxx a
         LEFT JOIN yljg_jcxx b ON a.jg_id = b.id