耗材领用单据状态查询修改

master
郑明梁 2 years ago
parent 043e87dc35
commit 001a7d2065

@ -22,5 +22,7 @@ public class FilterReceiveRequest extends ListPageRequest {
private String invCode; private String invCode;
private Integer status; private Integer status;
private Integer type;
} }

@ -37,6 +37,15 @@
<if test="status != null"> <if test="status != null">
AND status = #{status} AND status = #{status}
</if> </if>
<if test="type == 1">
AND (status=1 or status=2)
</if>
<if test="type == 2">
AND (status=2)
</if>
<if test="type == 3">
AND (status=3 or status=4)
</if>
</where> </where>
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save