md
This commit is contained in:
parent
7148100d4c
commit
e586d32209
@ -16,6 +16,7 @@ import javax.servlet.http.HttpServletResponse;
|
|||||||
|
|
||||||
import com.xdadan.erp.common.utils.DateUtils;
|
import com.xdadan.erp.common.utils.DateUtils;
|
||||||
import com.xdadan.erp.emis.domain.EmisWaybill;
|
import com.xdadan.erp.emis.domain.EmisWaybill;
|
||||||
|
import com.xdadan.erp.emis.domain.EmisWaybillProblemInfo;
|
||||||
import com.xdadan.erp.emis.domain.enumtype.ScanType;
|
import com.xdadan.erp.emis.domain.enumtype.ScanType;
|
||||||
import com.xdadan.erp.emis.domain.enumtype.WaybillAttachType;
|
import com.xdadan.erp.emis.domain.enumtype.WaybillAttachType;
|
||||||
import com.xdadan.erp.emis.domain.enumtype.WaybillStatus;
|
import com.xdadan.erp.emis.domain.enumtype.WaybillStatus;
|
||||||
@ -68,7 +69,7 @@ public class EmisWaybillAttachmentController extends EmisBaseController
|
|||||||
/**
|
/**
|
||||||
* 查询运单附件列表
|
* 查询运单附件列表
|
||||||
*/
|
*/
|
||||||
// @PreAuthorize("@ss.hasPermi('emis:emisWaybillAttachment:list')")
|
@PreAuthorize("@ss.hasPermi('emis:emisWaybillAttachment:list')")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(EmisWaybillAttachment emisWaybillAttachment)
|
public TableDataInfo list(EmisWaybillAttachment emisWaybillAttachment)
|
||||||
{
|
{
|
||||||
@ -91,6 +92,23 @@ public class EmisWaybillAttachmentController extends EmisBaseController
|
|||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GetMapping("/queryListByBillCode")
|
||||||
|
public TableDataInfo queryListByBillCode(String billCode)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
|
||||||
|
List<EmisWaybillAttachment> list=null;
|
||||||
|
if(!StringUtils.isEmpty(billCode)){
|
||||||
|
EmisWaybillAttachment emisWaybillAttachment = new EmisWaybillAttachment();
|
||||||
|
emisWaybillAttachment.setBillCode(billCode);
|
||||||
|
list = emisWaybillAttachmentService.selectEmisWaybillAttachmentList(emisWaybillAttachment);
|
||||||
|
}else{
|
||||||
|
list = new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 导出运单附件列表
|
* 导出运单附件列表
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -81,6 +81,24 @@ public class EmisWaybillProblemInfoController extends EmisBaseController
|
|||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GetMapping("/queryListByBillCode")
|
||||||
|
public TableDataInfo queryListByBillCode(String billCode)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
|
||||||
|
// 设置通用权限查询参数
|
||||||
|
List<EmisWaybillProblemInfo> list=null;
|
||||||
|
if(!StringUtils.isEmpty(billCode)){
|
||||||
|
EmisWaybillProblemInfo emisWaybillProblemInfo = new EmisWaybillProblemInfo();
|
||||||
|
emisWaybillProblemInfo.setBillCode(billCode);
|
||||||
|
list = emisWaybillProblemInfoService.selectEmisWaybillProblemInfoList(emisWaybillProblemInfo);
|
||||||
|
}else{
|
||||||
|
list = new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 导出问题件列表
|
* 导出问题件列表
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user