1.修复部分接口查询参数缺失或无效问题

2.领用单据实体类补充缺失字段
zhairh
x_z 3 years ago
parent 0faa2ea82e
commit 81306eb072

@ -19,4 +19,9 @@ public class BasicEntrustRecRequest extends ListPageRequest {
private String entrustSubInv; private String entrustSubInv;
private String invWarehouseCode; private String invWarehouseCode;
/**
*
*/
private String name;
} }

@ -30,4 +30,6 @@ public class StockOrderPostRequest {
private String deptCode; private String deptCode;
private BigDecimal price; private BigDecimal price;
private String unitIdFk; private String unitIdFk;
private Integer editStatus;
} }

@ -100,6 +100,9 @@
<if test="curInv!=null"> <if test="curInv!=null">
and curInv = #{curInv} and curInv = #{curInv}
</if> </if>
<if test="name != null and name != ''">
and a.name like concat('%', #{name}, '%')
</if>
</where> </where>
group by basic_entrust_accept.id group by basic_entrust_accept.id
order by updateTime desc order by updateTime desc

@ -445,8 +445,9 @@
<if test="invSpaceCode != null and invSpaceCode != ''"> <if test="invSpaceCode != null and invSpaceCode != ''">
AND ipd.invSpaceCode = #{invSpaceCode} AND ipd.invSpaceCode = #{invSpaceCode}
</if> </if>
<if test="cplb != null and cplb != ''"></if> <if test="cplb != null and cplb != ''">
AND bp.cplb = #{cplb} AND bp.cplb = #{cplb}
</if>
</where> </where>
group by ip.id group by ip.id
</select> </select>

@ -116,7 +116,7 @@
INTO thr_order INTO thr_order
(id,billNo, billdate, corpId, corpName, billType, billFlag, thirdSysFk, updateTime, originType, unitIdFk, (id,billNo, billdate, corpId, corpName, billType, billFlag, thirdSysFk, updateTime, originType, unitIdFk,
startDate, endDate, createUser, reviewUser, address, linkMan, linkTel, remark, remark1, remark2, startDate, endDate, createUser, reviewUser, address, linkMan, linkTel, remark, remark1, remark2,
remark3,locStorageCode,editStatus,invWarehouseCode,thirdPartyDate,fromSubInvCode,`type`,allocateStatus) remark3, locStorageCode,editStatus,invWarehouseCode,thirdPartyDate,fromSubInvCode,`type`,allocateStatus)
values ( values (
#{id}, #{id},
#{billNo}, #{billNo},

Loading…
Cancel
Save