demand: TMS系统 - 运输管理 -货物组批次-查询批次明细、查询批次配置列表时校验批次号为空直接返回
committer: heyu
This commit is contained in:
parent
df61352045
commit
0f4d66fb45
@ -12,10 +12,12 @@
|
|||||||
package com.xdadan.erp.web.emis;
|
package com.xdadan.erp.web.emis;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.xdadan.erp.emis.domain.exception.EmisBizError;
|
import com.xdadan.erp.emis.domain.exception.EmisBizError;
|
||||||
|
import jodd.util.StringUtil;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.dao.DuplicateKeyException;
|
import org.springframework.dao.DuplicateKeyException;
|
||||||
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
@ -60,6 +62,12 @@ public class EmisTmsSiteBatchDtlController extends EmisBaseController
|
|||||||
public TableDataInfo list(EmisTmsSiteBatchDtl emisTmsSiteBatchDtl)
|
public TableDataInfo list(EmisTmsSiteBatchDtl emisTmsSiteBatchDtl)
|
||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
|
if(Objects.isNull(emisTmsSiteBatchDtl)){
|
||||||
|
return new TableDataInfo();
|
||||||
|
}
|
||||||
|
if(StringUtil.isBlank(emisTmsSiteBatchDtl.getBatchNo())){
|
||||||
|
return new TableDataInfo();
|
||||||
|
}
|
||||||
|
|
||||||
// 设置通用权限查询参数
|
// 设置通用权限查询参数
|
||||||
// setPrivParams(emisTmsSiteBatchDtl);
|
// setPrivParams(emisTmsSiteBatchDtl);
|
||||||
|
|||||||
@ -12,7 +12,10 @@
|
|||||||
package com.xdadan.erp.web.emis;
|
package com.xdadan.erp.web.emis;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import jodd.util.StringUtil;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
@ -56,6 +59,12 @@ public class EmisTmsSiteBatchLoadingController extends EmisBaseController
|
|||||||
public TableDataInfo list(EmisTmsSiteBatchLoading emisTmsSiteBatchLoading)
|
public TableDataInfo list(EmisTmsSiteBatchLoading emisTmsSiteBatchLoading)
|
||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
|
if(Objects.isNull(emisTmsSiteBatchLoading)){
|
||||||
|
return new TableDataInfo();
|
||||||
|
}
|
||||||
|
if(StringUtil.isBlank(emisTmsSiteBatchLoading.getBatchNo())){
|
||||||
|
return new TableDataInfo();
|
||||||
|
}
|
||||||
List<EmisTmsSiteBatchLoading> list = emisTmsSiteBatchLoadingService.selectEmisTmsSiteBatchLoadingList(emisTmsSiteBatchLoading);
|
List<EmisTmsSiteBatchLoading> list = emisTmsSiteBatchLoadingService.selectEmisTmsSiteBatchLoadingList(emisTmsSiteBatchLoading);
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user