src/main/java/org/springblade/modules/soldr/mapper/SoldrMapper.xml
@@ -37,7 +37,8 @@ a.dict_value AS stype, d.dict_value AS dic1, c.dict_value AS dic2, stf.agricultural_name as agrname stf.agricultural_name as agrname, st.dept_id FROM sys_soldr st LEFT JOIN sys_stockfactory stf ON stf.id = st.stock_id1 LEFT JOIN (SELECT dict_key, dict_value @@ -62,6 +63,9 @@ <if test="soldr.stockId1!=null and soldr.stockId1 != ''"> and st.stock_id1 = #{soldr.stockId1} </if> <if test="soldr.deptId != null and soldr.deptId !=''"> AND st.dept_id = #{soldr.deptId} </if> </select> <delete id="del">