Merge pull request 'demand: OMS系统-对货管理 -进仓对货 - 查询支持根据运单号/进仓单号/创建时间/确认状态/进仓状态查询' (#2) from develop into master
Reviewed-on: http://git.xdadan.loc/tanex/emis-api-service/pulls/2
This commit is contained in:
commit
0ff7d44f8f
@ -113,12 +113,25 @@ public class WarehouseInController extends BaseController
|
||||
"waybillDetail"
|
||||
},value= EmisWarehouseIn.class,type= JacksonFilter.JscksonFilterType.RESPONSE)
|
||||
@GetMapping("/listSimpleByOms")
|
||||
public TableDataInfo listSimpleByOms(EmisWarehouseIn emisWarehouseIn,String queryStatusType)
|
||||
public TableDataInfo listSimpleByOms(EmisWarehouseIn emisWarehouseIn)
|
||||
{
|
||||
startPage();
|
||||
|
||||
emisWarehouseIn.getParams().put("queryStatusType",queryStatusType);
|
||||
if(!StringUtils.isEmpty(emisWarehouseIn.getBillCode())){
|
||||
emisWarehouseIn.setBillCode( WaybillHelper.formatQueryValue(emisWarehouseIn.getBillCode()));
|
||||
String[] billCodeSortList = emisWarehouseIn.getBillCode().split(",");
|
||||
if(billCodeSortList.length>1){
|
||||
emisWarehouseIn.getParams().put("billCodeSortList", Arrays.asList(billCodeSortList));
|
||||
}
|
||||
}
|
||||
|
||||
if(!StringUtils.isEmpty(emisWarehouseIn.getInNo())){
|
||||
emisWarehouseIn.setInNo(WaybillHelper.formatQueryValue(emisWarehouseIn.getInNo()));
|
||||
String[] inNoSortList = emisWarehouseIn.getInNo().split(",");
|
||||
if(inNoSortList.length>1){
|
||||
emisWarehouseIn.getParams().put("inNoSortList",Arrays.asList(inNoSortList));
|
||||
}
|
||||
}
|
||||
List<EmisWarehouseIn> list = emisWarehouseInService.selectEmisWarehouseInListByOms(emisWarehouseIn);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user