pad接口-退货-退货指令查询-去掉nuid必传
This commit is contained in:
parent
a655e5b7d6
commit
3c7926608a
|
|
@ -37,9 +37,6 @@ public class InvoicingThdApi {
|
||||||
public Result<IPage<InvoicingThdMainEntity>> thdList(InvoicingThdMainEntity dto,
|
public Result<IPage<InvoicingThdMainEntity>> thdList(InvoicingThdMainEntity dto,
|
||||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||||
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) {
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) {
|
||||||
if (StringUtils.isBlank(dto.getNuId())) {
|
|
||||||
return Result.error("缺少参数");
|
|
||||||
}
|
|
||||||
IPage<InvoicingThdMainEntity> pageList = tuiHuoApi.thdList(pageNo, pageSize, dto);
|
IPage<InvoicingThdMainEntity> pageList = tuiHuoApi.thdList(pageNo, pageSize, dto);
|
||||||
return Result.OK(pageList);
|
return Result.OK(pageList);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@
|
||||||
LEFT JOIN sys_dict dict ON dict.dict_code = 'thd_status'
|
LEFT JOIN sys_dict dict ON dict.dict_code = 'thd_status'
|
||||||
LEFT JOIN sys_dict_item logStatus ON logStatus.dict_id = dict.id AND logStatus.item_value = main.status
|
LEFT JOIN sys_dict_item logStatus ON logStatus.dict_id = dict.id AND logStatus.item_value = main.status
|
||||||
<where>
|
<where>
|
||||||
main.nu_id = #{dto.nuId}
|
|
||||||
<if test="dto.searchContent != null and dto.searchContent != ''">
|
<if test="dto.searchContent != null and dto.searchContent != ''">
|
||||||
AND (
|
AND (
|
||||||
sqrtemp.realname LIKE CONCAT('%', #{dto.searchContent}, '%')
|
sqrtemp.realname LIKE CONCAT('%', #{dto.searchContent}, '%')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue