@@ -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 id="getFreeByJgId" parameterType="InLnstLrxx" resultType="String">