opt:优化修改仓位管理功能
This commit is contained in:
@@ -67,55 +67,53 @@ public class Structattr implements Serializable {
|
||||
*/
|
||||
private String stor_name;
|
||||
|
||||
/**
|
||||
* 仓库类型
|
||||
*/
|
||||
private String stor_type;
|
||||
|
||||
/**
|
||||
* 容量
|
||||
*/
|
||||
private BigDecimal capacity;
|
||||
|
||||
/**
|
||||
* 宽度
|
||||
*/
|
||||
private BigDecimal width;
|
||||
|
||||
/**
|
||||
* 高度
|
||||
*/
|
||||
private BigDecimal height;
|
||||
|
||||
/**
|
||||
* 深度
|
||||
*/
|
||||
private BigDecimal zdepth;
|
||||
|
||||
/**
|
||||
* 承受重量
|
||||
*/
|
||||
private BigDecimal weight;
|
||||
|
||||
/**
|
||||
* 起始X坐标
|
||||
*/
|
||||
private BigDecimal xqty;
|
||||
|
||||
/**
|
||||
* 起始Y坐标
|
||||
*/
|
||||
private BigDecimal yqty;
|
||||
|
||||
/**
|
||||
* 起始Z坐标
|
||||
*/
|
||||
private BigDecimal zqty;
|
||||
|
||||
/**
|
||||
* 是否临时仓位
|
||||
*/
|
||||
private String is_tempstruct;
|
||||
/**
|
||||
* 排
|
||||
*/
|
||||
private String row_num;
|
||||
/**
|
||||
* 列
|
||||
*/
|
||||
private String col_num;
|
||||
/**
|
||||
* 层
|
||||
*/
|
||||
private String layer_num;
|
||||
/**
|
||||
* 块
|
||||
*/
|
||||
private String block_num;
|
||||
|
||||
/**
|
||||
* 入库顺序
|
||||
*/
|
||||
private String in_order_seq;
|
||||
|
||||
/**
|
||||
* 出库顺序
|
||||
*/
|
||||
private String out_order_seq;
|
||||
|
||||
|
||||
/**
|
||||
* 入空载具顺序
|
||||
*/
|
||||
private String in_empty_seq;
|
||||
|
||||
|
||||
/**
|
||||
* 出空载具顺序
|
||||
*/
|
||||
private String out_empty_seq;
|
||||
|
||||
/**
|
||||
* 放置类型
|
||||
*/
|
||||
private String placement_type;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
@@ -152,51 +150,16 @@ public class Structattr implements Serializable {
|
||||
*/
|
||||
private String is_delete;
|
||||
|
||||
/**
|
||||
* 背景色
|
||||
*/
|
||||
private String back_ground_color;
|
||||
|
||||
/**
|
||||
* 前景色
|
||||
*/
|
||||
private String front_ground_color;
|
||||
|
||||
/**
|
||||
* 背景图片
|
||||
*/
|
||||
private String back_ground_pic;
|
||||
|
||||
/**
|
||||
* 字体显示方向
|
||||
*/
|
||||
private String font_direction_scode;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
private String is_used;
|
||||
|
||||
/**
|
||||
* 是否判断高度
|
||||
*/
|
||||
private String is_zdepth;
|
||||
|
||||
/**
|
||||
* 存储载具标识
|
||||
*/
|
||||
private Long storagevehicle_id;
|
||||
|
||||
/**
|
||||
* 存储载具号
|
||||
*/
|
||||
private String storagevehicle_code;
|
||||
|
||||
/**
|
||||
* 存储载具类型
|
||||
*/
|
||||
private String storagevehicle_type;
|
||||
|
||||
/**
|
||||
* 是否空载具
|
||||
*/
|
||||
@@ -211,6 +174,35 @@ public class Structattr implements Serializable {
|
||||
* 锁定类型
|
||||
*/
|
||||
private String lock_type;
|
||||
/**
|
||||
* 锁定任务类型
|
||||
*/
|
||||
private String taskdtl_type;
|
||||
|
||||
/**
|
||||
* 锁定任务明细标识
|
||||
*/
|
||||
private String taskdtl_id;
|
||||
|
||||
/**
|
||||
* 锁定任务编码
|
||||
*/
|
||||
private String task_code;
|
||||
|
||||
/**
|
||||
* 锁定单据类型
|
||||
*/
|
||||
private String inv_type;
|
||||
|
||||
/**
|
||||
* 锁定单据标识
|
||||
*/
|
||||
private String inv_id;
|
||||
|
||||
/**
|
||||
* 锁定单据编码
|
||||
*/
|
||||
private String inv_code;
|
||||
|
||||
/**
|
||||
* 物料高度类型
|
||||
@@ -228,15 +220,9 @@ public class Structattr implements Serializable {
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 放置类型
|
||||
* 存储载具类型
|
||||
*/
|
||||
private String placement_type;
|
||||
/**
|
||||
* 块
|
||||
*/
|
||||
private String block_num;
|
||||
/**
|
||||
* 层
|
||||
*/
|
||||
private String layer_num;
|
||||
private String storagevehicle_type;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
where sect.sect_type_attr = '09'
|
||||
</select>
|
||||
|
||||
<select id="selectStructByCodesFsAnNum" resultType="com.alibaba.fastjson.JSONArray" parameterType="java.util.List">
|
||||
<select id="selectStructByCodesFsAnNum" resultType="com.alibaba.fastjson.JSONObject" parameterType="java.util.List">
|
||||
SELECT
|
||||
attr.*,
|
||||
sub.package_box_sn,
|
||||
@@ -30,7 +30,7 @@
|
||||
</foreach>
|
||||
</if>
|
||||
</select>
|
||||
<select id="queryAll" resultType="com.alibaba.fastjson.JSONArray" parameterType="java.lang.String">
|
||||
<select id="queryAll" resultType="com.alibaba.fastjson.JSONObject" parameterType="java.lang.String">
|
||||
SELECT attr.*,
|
||||
sub.package_box_sn,
|
||||
sub.quanlity_in_box,
|
||||
@@ -40,7 +40,7 @@
|
||||
sub.product_description,
|
||||
sub.net_weight
|
||||
FROM st_ivt_structattr attr
|
||||
LEFT JOIN pdm_bi_subpackagerelation sub ON sub.package_box_sn = attr.storagevehicle_code
|
||||
LEFT JOIN pdm_bi_subpackagerelation sub ON sub.package_box_sn = attr.storagevehicle_code
|
||||
WHERE attr.struct_id = #{struct_id}
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
@@ -67,55 +67,53 @@ public class StructattrDto implements Serializable {
|
||||
*/
|
||||
private String stor_name;
|
||||
|
||||
/**
|
||||
* 仓库类型
|
||||
*/
|
||||
private String stor_type;
|
||||
|
||||
/**
|
||||
* 容量
|
||||
*/
|
||||
private BigDecimal capacity;
|
||||
|
||||
/**
|
||||
* 宽度
|
||||
*/
|
||||
private BigDecimal width;
|
||||
|
||||
/**
|
||||
* 高度
|
||||
*/
|
||||
private BigDecimal height;
|
||||
|
||||
/**
|
||||
* 深度
|
||||
*/
|
||||
private BigDecimal zdepth;
|
||||
|
||||
/**
|
||||
* 承受重量
|
||||
*/
|
||||
private BigDecimal weight;
|
||||
|
||||
/**
|
||||
* 起始X坐标
|
||||
*/
|
||||
private BigDecimal xqty;
|
||||
|
||||
/**
|
||||
* 起始Y坐标
|
||||
*/
|
||||
private BigDecimal yqty;
|
||||
|
||||
/**
|
||||
* 起始Z坐标
|
||||
*/
|
||||
private BigDecimal zqty;
|
||||
|
||||
/**
|
||||
* 是否临时仓位
|
||||
*/
|
||||
private String is_tempstruct;
|
||||
/**
|
||||
* 排
|
||||
*/
|
||||
private String row_num;
|
||||
/**
|
||||
* 列
|
||||
*/
|
||||
private String col_num;
|
||||
/**
|
||||
* 层
|
||||
*/
|
||||
private String layer_num;
|
||||
/**
|
||||
* 块
|
||||
*/
|
||||
private String block_num;
|
||||
|
||||
/**
|
||||
* 入库顺序
|
||||
*/
|
||||
private String in_order_seq;
|
||||
|
||||
/**
|
||||
* 出库顺序
|
||||
*/
|
||||
private String out_order_seq;
|
||||
|
||||
|
||||
/**
|
||||
* 入空载具顺序
|
||||
*/
|
||||
private String in_empty_seq;
|
||||
|
||||
|
||||
/**
|
||||
* 出空载具顺序
|
||||
*/
|
||||
private String out_empty_seq;
|
||||
|
||||
/**
|
||||
* 放置类型
|
||||
*/
|
||||
private String placement_type;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
@@ -152,51 +150,16 @@ public class StructattrDto implements Serializable {
|
||||
*/
|
||||
private String is_delete;
|
||||
|
||||
/**
|
||||
* 背景色
|
||||
*/
|
||||
private String back_ground_color;
|
||||
|
||||
/**
|
||||
* 前景色
|
||||
*/
|
||||
private String front_ground_color;
|
||||
|
||||
/**
|
||||
* 背景图片
|
||||
*/
|
||||
private String back_ground_pic;
|
||||
|
||||
/**
|
||||
* 字体显示方向
|
||||
*/
|
||||
private String font_direction_scode;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
private String is_used;
|
||||
|
||||
/**
|
||||
* 是否判断高度
|
||||
*/
|
||||
private String is_zdepth;
|
||||
|
||||
/**
|
||||
* 存储载具标识
|
||||
*/
|
||||
private Long storagevehicle_id;
|
||||
|
||||
/**
|
||||
* 存储载具号
|
||||
*/
|
||||
private String storagevehicle_code;
|
||||
|
||||
/**
|
||||
* 存储载具类型
|
||||
*/
|
||||
private String storagevehicle_type;
|
||||
|
||||
/**
|
||||
* 是否空载具
|
||||
*/
|
||||
@@ -211,6 +174,35 @@ public class StructattrDto implements Serializable {
|
||||
* 锁定类型
|
||||
*/
|
||||
private String lock_type;
|
||||
/**
|
||||
* 锁定任务类型
|
||||
*/
|
||||
private String taskdtl_type;
|
||||
|
||||
/**
|
||||
* 锁定任务明细标识
|
||||
*/
|
||||
private String taskdtl_id;
|
||||
|
||||
/**
|
||||
* 锁定任务编码
|
||||
*/
|
||||
private String task_code;
|
||||
|
||||
/**
|
||||
* 锁定单据类型
|
||||
*/
|
||||
private String inv_type;
|
||||
|
||||
/**
|
||||
* 锁定单据标识
|
||||
*/
|
||||
private String inv_id;
|
||||
|
||||
/**
|
||||
* 锁定单据编码
|
||||
*/
|
||||
private String inv_code;
|
||||
|
||||
/**
|
||||
* 物料高度类型
|
||||
@@ -228,7 +220,7 @@ public class StructattrDto implements Serializable {
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 放置类型
|
||||
* 存储载具类型
|
||||
*/
|
||||
private String placement_type;
|
||||
private String storagevehicle_type;
|
||||
}
|
||||
|
||||
@@ -201,7 +201,6 @@ public class StructattrServiceImpl extends ServiceImpl<StructattrMapper, Structa
|
||||
throw new BadRequestException("未发现载具号为【" + storagevehicle_code + "】的载具信息");
|
||||
}
|
||||
|
||||
dto.setStoragevehicle_id(obj.getLong("storagevehicle_id"));
|
||||
dto.setStoragevehicle_type(obj.getString("storagevehicle_type"));
|
||||
}
|
||||
structattrMapper.insert(BeanUtil.copyProperties(dto, Structattr.class));
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user