领料接口优化
This commit is contained in:
parent
dba1d641d8
commit
2cf725d4d3
|
|
@ -67,4 +67,7 @@ public class LeaseOutDetails extends BaseEntity {
|
||||||
|
|
||||||
@ApiModelProperty(value = "数量出库-出库数量")
|
@ApiModelProperty(value = "数量出库-出库数量")
|
||||||
private Long inputNum;
|
private Long inputNum;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "0工程1长期")
|
||||||
|
private String leaseType;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -170,6 +170,7 @@ public class LeaseOutDetailsServiceImpl implements ILeaseOutDetailsService {
|
||||||
return AjaxResult.error("已领数量大于预领数量或该机具未在库");
|
return AjaxResult.error("已领数量大于预领数量或该机具未在库");
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
log.error(e.getMessage());
|
||||||
return AjaxResult.error("出库失败");
|
return AjaxResult.error("出库失败");
|
||||||
}
|
}
|
||||||
return AjaxResult.success("出库成功");
|
return AjaxResult.success("出库成功");
|
||||||
|
|
|
||||||
|
|
@ -662,8 +662,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
select lease_price as leasePrice,
|
select lease_price as leasePrice,
|
||||||
rent_price as rentPrice,
|
rent_price as rentPrice,
|
||||||
buy_price as buyPrice,
|
buy_price as buyPrice,
|
||||||
pay_price as payPrice,
|
pay_price as payPrice
|
||||||
company_id as companyId
|
|
||||||
from ma_type
|
from ma_type
|
||||||
where type_id = #{typeId} and del_flag = 0
|
where type_id = #{typeId} and del_flag = 0
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue