feat(init):单据创建1.7
This commit is contained in:
parent
14dc4f77cc
commit
65a3804d16
@ -9,6 +9,7 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
public class WipShopOrderDto {
|
||||
private String site;
|
||||
private String shopOrderBo;
|
||||
private String shopOrder;
|
||||
private String salesOrder;
|
||||
|
||||
@ -1138,6 +1138,7 @@ public class DocumentController {
|
||||
@ApiOperation(value = "分页查询订单信息", notes = "分页查询订单信息")
|
||||
@GetMapping("/selectShopOrderInfo/page")
|
||||
public R selectShopOrderInfo(FrontPage page, WipShopOrderDto wipShopOrderDto) {
|
||||
wipShopOrderDto.setSite(TenantContextHolder.getTenantId());
|
||||
return R.ok(documentMapper.selectShopOrderInfo(page, wipShopOrderDto));
|
||||
}
|
||||
|
||||
|
||||
@ -211,7 +211,7 @@
|
||||
from wip.shop_order so
|
||||
left join wip.custom_fields cf on cf.HANDLE = so.HANDLE and cf.FIELD_NAME = 'SALE_ORDER'
|
||||
left join wip.custom_fields cf2 on cf2.HANDLE = so.HANDLE and cf2.FIELD_NAME = 'SALE_ORDER_LINE'
|
||||
where 1 = 1
|
||||
where so.SITE = #{wipShopOrderDto.site}
|
||||
<if test="wipShopOrderDto.shopOrderBo != null and wipShopOrderDto.shopOrderBo != ''">
|
||||
and so.HANDLE like concat('%', #{wipShopOrderDto.shopOrderBo}, '%');
|
||||
</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user