فهرست منبع

Merge branch 'release/5.12.6' of 192.168.2.80:/srv/git/pre_api into release/5.12.6

guowei 2 سال پیش
والد
کامیت
575415e458

BIN
cbkj_web_api/src/main/java/com/jiuzhekan/cbkj/mapper/business/TSysParamMapper.java


BIN
cbkj_web_api/src/main/java/com/jiuzhekan/cbkj/service/business/TSysParamService.java


+ 8 - 0
cbkj_web_api/src/main/resources/mappers/business/TSysParamMapper.xml

@@ -221,4 +221,12 @@ DEL_DATE,DEL_USER,DEL_USERNAME,IS_DEL,SEQN,PAR_CLASSIFY,PAR_NUMBER
         from t_sys_param where IS_DEL = '0' AND  PAR_CLASSIFY IS NOT NULL
         GROUP BY PAR_CLASSIFY
     </select>
+    <select id="getParamNumberRepeat" resultType="java.lang.Integer" parameterType="TSysParam">
+        select count(1) cun from t_sys_param where is_del = '0'
+                                               and PAR_NUMBER = #{parNumber}
+        <if test="parId != null and parId!='' ">
+            and PAR_ID = #{parId}
+        </if>
+
+    </select>
 </mapper>