15143018065 11 ヶ月 前
コミット
b9ddec6b30

+ 1 - 1
ruoyi-modules/mz-lnst/src/main/resources/mapper/lnst/ZwywLrJbxxMapper.xml

@@ -105,7 +105,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </select>
 
     <select id="selectTcByJgId" parameterType="InLnstLrxx" resultType="java.util.HashMap">
-        select id, jg_id, mc, dj, btlx, btje, yhlx, yhje from lnst_tc2 where jg_id = #{createUnit}
+        select id, jg_id, mc, dj, btlx, btje, yhlx, yhje from lnst_tc2 where jg_id = #{createUnit} and state = '0'
     </select>
 
     <select id="getFreeByJgId" parameterType="InLnstLrxx" resultType="String">