inventory-server/src/main/resources/mapper/RepertoryMapper.xml
@@ -22,10 +22,10 @@ <if test="time!=null and time!=''"> and create_time=#{time} </if> <if test="type!=null and type!=''"> <if test="type!=null "> and type=#{type} </if> <if test="checkState!=null and checkState!=''"> <if test="checkState!=null "> and check_state=#{checkState} </if> order by id desc @@ -36,5 +36,7 @@ select id, name, specifications, unit from mom_ocean.repertory where state = 1 and check_state = 1 and type = 0 </select> </mapper>