领料接口优化
This commit is contained in:
parent
07c341f1f7
commit
184a33a9a8
|
|
@ -12,9 +12,8 @@ public enum LeaseTaskStatusEnum {
|
||||||
|
|
||||||
LEASE_TASK_TO_PUBLISHED(1, "待发布"),
|
LEASE_TASK_TO_PUBLISHED(1, "待发布"),
|
||||||
LEASE_TASK_TO_AUDIT(2, "待审核"),
|
LEASE_TASK_TO_AUDIT(2, "待审核"),
|
||||||
LEASE_TASK_TO_STOCK_OUT(3, "待出库"),
|
LEASE_TASK_IN_STOCK_OUT(3, "出库进行中"),
|
||||||
LEASE_TASK_IN_STOCK_OUT(4, "出库进行中"),
|
LEASE_TASK_END_STOCK_OUT(4, "出库已完成");
|
||||||
LEASE_TASK_END_STOCK_OUT(5, "出库已完成");
|
|
||||||
|
|
||||||
private final Integer status;
|
private final Integer status;
|
||||||
private final String statusName;
|
private final String statusName;
|
||||||
|
|
|
||||||
|
|
@ -306,6 +306,8 @@ public class SelectServiceImpl implements SelectService {
|
||||||
List<AgreementVo> list = mapper.getAgreementInfoById(dto);
|
List<AgreementVo> list = mapper.getAgreementInfoById(dto);
|
||||||
if (CollectionUtils.isNotEmpty(list)) {
|
if (CollectionUtils.isNotEmpty(list)) {
|
||||||
vo = list.get(0);
|
vo = list.get(0);
|
||||||
|
} else {
|
||||||
|
return AjaxResult.error("未找到匹配的协议信息");
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("往来单位id和标段工程id获取协议信息", e);
|
log.error("往来单位id和标段工程id获取协议信息", e);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue