2.领用单据实体类补充缺失字段
@ -19,4 +19,9 @@ public class BasicEntrustRecRequest extends ListPageRequest {
private String entrustSubInv;
private String invWarehouseCode;
/**
* 单据类型名称
*/
private String name;
}
@ -30,4 +30,6 @@ public class StockOrderPostRequest {
private String deptCode;
private BigDecimal price;
private String unitIdFk;
private Integer editStatus;
@ -100,6 +100,9 @@
<if test="curInv!=null">
and curInv = #{curInv}
</if>
<if test="name != null and name != ''">
and a.name like concat('%', #{name}, '%')
</where>
group by basic_entrust_accept.id
order by updateTime desc
@ -445,8 +445,9 @@
<if test="invSpaceCode != null and invSpaceCode != ''">
AND ipd.invSpaceCode = #{invSpaceCode}
<if test="cplb != null and cplb != ''"></if>
<if test="cplb != null and cplb != ''">
AND bp.cplb = #{cplb}
group by ip.id
</select>