This commit is contained in:
CaiXiang
2020-08-18 10:15:38 +08:00
parent 4733ddc226
commit 9ee464c736
71 changed files with 5987 additions and 124 deletions

View File

@@ -0,0 +1,8 @@
package com.deer.wms.produce.clothflow.dao;
import com.deer.wms.produce.clothflow.model.MtAloneByAShelf;
import com.deer.wms.project.seed.core.mapper.Mapper;
public interface MtAloneByAShelfMapper extends Mapper<MtAloneByAShelf> {
}

View File

@@ -0,0 +1,6 @@
package com.deer.wms.produce.clothflow.dao;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeCloth;
import com.deer.wms.project.seed.core.mapper.Mapper;
public interface MtAloneByBakeClothMapper extends Mapper<MtAloneByBakeCloth> {
}

View File

@@ -0,0 +1,6 @@
package com.deer.wms.produce.clothflow.dao;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingGlue;
import com.deer.wms.project.seed.core.mapper.Mapper;
public interface MtAloneByCoatingGlueMapper extends Mapper<MtAloneByCoatingGlue> {
}

View File

@@ -0,0 +1,6 @@
package com.deer.wms.produce.clothflow.dao;
import com.deer.wms.produce.clothflow.model.MtAloneByCoating;
import com.deer.wms.project.seed.core.mapper.Mapper;
public interface MtAloneByCoatingMapper extends Mapper<MtAloneByCoating> {
}

View File

@@ -0,0 +1,6 @@
package com.deer.wms.produce.clothflow.dao;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingProgress;
import com.deer.wms.project.seed.core.mapper.Mapper;
public interface MtAloneByCoatingProgressMapper extends Mapper<MtAloneByCoatingProgress> {
}

View File

@@ -0,0 +1,6 @@
package com.deer.wms.produce.clothflow.dao;
import com.deer.wms.produce.clothflow.model.MtAloneByGoDyeFactory;
import com.deer.wms.project.seed.core.mapper.Mapper;
public interface MtAloneByGoDyeFactoryMapper extends Mapper<MtAloneByGoDyeFactory> {
}

View File

@@ -0,0 +1,6 @@
package com.deer.wms.produce.clothflow.dao;
import com.deer.wms.produce.clothflow.model.MtAloneByLogistics;
import com.deer.wms.project.seed.core.mapper.Mapper;
public interface MtAloneByLogisticsMapper extends Mapper<MtAloneByLogistics> {
}

View File

@@ -0,0 +1,6 @@
package com.deer.wms.produce.clothflow.dao;
import com.deer.wms.produce.clothflow.model.MtAloneByRunCloth;
import com.deer.wms.project.seed.core.mapper.Mapper;
public interface MtAloneByRunClothMapper extends Mapper<MtAloneByRunCloth> {
}

View File

@@ -0,0 +1,6 @@
package com.deer.wms.produce.clothflow.dao;
import com.deer.wms.produce.clothflow.model.MtAloneByTrimming;
import com.deer.wms.project.seed.core.mapper.Mapper;
public interface MtAloneByTrimmingMapper extends Mapper<MtAloneByTrimming> {
}

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.deer.wms.produce.clothflow.dao.MtAloneByAShelfMapper">
<resultMap id="BaseResultMap" type="com.deer.wms.produce.clothflow.model.MtAloneByAShelf">
<!--
WARNING - @mbg.generated
-->
<result column="id" jdbcType="INTEGER" property="id" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="version" jdbcType="VARCHAR" property="version" />
<result column="a_shelf_status" jdbcType="INTEGER" property="aShelfStatus" />
<result column="company_id" jdbcType="INTEGER" property="companyId" />
<result column="a_shelf_code" jdbcType="VARCHAR" property="aShelfCode" />
<result column="a_shelf_name" jdbcType="VARCHAR" property="aShelfName" />
<result column="note" jdbcType="VARCHAR" property="note" />
</resultMap>
</mapper>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.deer.wms.produce.clothflow.dao.MtAloneByBakeClothMapper">
<resultMap id="BaseResultMap" type="com.deer.wms.produce.clothflow.model.MtAloneByBakeCloth">
<!--
WARNING - @mbg.generated
-->
<result column="id" jdbcType="INTEGER" property="id" />
<result column="operator_id" jdbcType="INTEGER" property="operatorId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="creator_id" jdbcType="INTEGER" property="creatorId" />
<result column="updater_id" jdbcType="INTEGER" property="updaterId" />
<result column="version" jdbcType="VARCHAR" property="version" />
<result column="bake_cloth_status" jdbcType="INTEGER" property="bakeClothStatus" />
<result column="run_cloth_id" jdbcType="INTEGER" property="runClothId" />
<result column="curr_progress" jdbcType="VARCHAR" property="currProgress" />
<result column="supplier_id" jdbcType="INTEGER" property="supplierId" />
<result column="supplier_code" jdbcType="VARCHAR" property="supplierCode" />
<result column="plan_length" jdbcType="REAL" property="planLength" />
<result column="actual_length" jdbcType="REAL" property="actualLength" />
<result column="shrinkage" jdbcType="VARCHAR" property="shrinkage" />
<result column="cost" jdbcType="REAL" property="cost" />
<result column="begin_time" jdbcType="TIMESTAMP" property="beginTime" />
<result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
<result column="note" jdbcType="VARCHAR" property="note" />
</resultMap>
</mapper>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.deer.wms.produce.clothflow.dao.MtAloneByCoatingGlueMapper">
<resultMap id="BaseResultMap" type="com.deer.wms.produce.clothflow.model.MtAloneByCoatingGlue">
<!--
WARNING - @mbg.generated
-->
<result column="id" jdbcType="INTEGER" property="id" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="version" jdbcType="VARCHAR" property="version" />
<result column="gule_status" jdbcType="INTEGER" property="guleStatus" />
<result column="glue_types" jdbcType="VARCHAR" property="glueTypes" />
<result column="glue_name" jdbcType="VARCHAR" property="glueName" />
<result column="glue_code" jdbcType="VARCHAR" property="glueCode" />
<result column="unit" jdbcType="VARCHAR" property="unit" />
<result column="spec" jdbcType="VARCHAR" property="spec" />
<result column="note" jdbcType="VARCHAR" property="note" />
</resultMap>
</mapper>

View File

@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.deer.wms.produce.clothflow.dao.MtAloneByCoatingMapper">
<resultMap id="BaseResultMap" type="com.deer.wms.produce.clothflow.model.MtAloneByCoating">
<!--
WARNING - @mbg.generated
-->
<result column="id" jdbcType="INTEGER" property="id" />
<result column="operator_id" jdbcType="INTEGER" property="operatorId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="creator_id" jdbcType="INTEGER" property="creatorId" />
<result column="updater_id" jdbcType="INTEGER" property="updaterId" />
<result column="version" jdbcType="VARCHAR" property="version" />
<result column="top_glue_ready_status" jdbcType="INTEGER" property="topGlueReadyStatus" />
<result column="product_id" jdbcType="INTEGER" property="productId" />
<result column="a_shelf_id" jdbcType="INTEGER" property="aShelfId" />
<result column="a_shelf_name" jdbcType="VARCHAR" property="aShelfName" />
<result column="base_glue_id" jdbcType="INTEGER" property="baseGlueId" />
<result column="base_name" jdbcType="VARCHAR" property="baseName" />
<result column="base_num" jdbcType="REAL" property="baseNum" />
<result column="top_glue_id" jdbcType="INTEGER" property="topGlueId" />
<result column="top_name" jdbcType="VARCHAR" property="topName" />
<result column="top_num" jdbcType="REAL" property="topNum" />
<result column="other_glue_id" jdbcType="INTEGER" property="otherGlueId" />
<result column="other_name" jdbcType="VARCHAR" property="otherName" />
<result column="other_num" jdbcType="REAL" property="otherNum" />
<result column="ready_time" jdbcType="TIMESTAMP" property="readyTime" />
<result column="ak_glue_id" jdbcType="INTEGER" property="akGlueId" />
<result column="ak_glue_name" jdbcType="VARCHAR" property="akGlueName" />
<result column="ak_weight" jdbcType="REAL" property="akWeight" />
<result column="bk_glue_id" jdbcType="INTEGER" property="bkGlueId" />
<result column="bk_glue_name" jdbcType="VARCHAR" property="bkGlueName" />
<result column="bk_weight" jdbcType="REAL" property="bkWeight" />
<result column="ck_glue_id" jdbcType="INTEGER" property="ckGlueId" />
<result column="ck_glue_name" jdbcType="VARCHAR" property="ckGlueName" />
<result column="ck_weight" jdbcType="REAL" property="ckWeight" />
<result column="dk_glue_id" jdbcType="INTEGER" property="dkGlueId" />
<result column="dk_glue_name" jdbcType="VARCHAR" property="dkGlueName" />
<result column="dk_weight" jdbcType="REAL" property="dkWeight" />
<result column="note" jdbcType="VARCHAR" property="note" />
</resultMap>
</mapper>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.deer.wms.produce.clothflow.dao.MtAloneByCoatingProgressMapper">
<resultMap id="BaseResultMap" type="com.deer.wms.produce.clothflow.model.MtAloneByCoatingProgress">
<!--
WARNING - @mbg.generated
-->
<result column="id" jdbcType="INTEGER" property="id" />
<result column="operator_id" jdbcType="INTEGER" property="operatorId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="creator_id" jdbcType="INTEGER" property="creatorId" />
<result column="updater_id" jdbcType="INTEGER" property="updaterId" />
<result column="version" jdbcType="VARCHAR" property="version" />
<result column="coating_progress_status" jdbcType="INTEGER" property="coatingProgressStatus" />
<result column="product_id" jdbcType="INTEGER" property="productId" />
<result column="a_shelf_id" jdbcType="INTEGER" property="aShelfId" />
<result column="a_shelf_name" jdbcType="VARCHAR" property="aShelfName" />
<result column="sub_width" jdbcType="REAL" property="subWidth" />
<result column="actual_width" jdbcType="REAL" property="actualWidth" />
<result column="width_prop" jdbcType="REAL" property="widthProp" />
<result column="sub_meters" jdbcType="REAL" property="subMeters" />
<result column="actual_meters" jdbcType="REAL" property="actualMeters" />
<result column="completed_meters" jdbcType="REAL" property="completedMeters" />
<result column="completed_prop" jdbcType="REAL" property="completedProp" />
<result column="completed_time" jdbcType="TIMESTAMP" property="completedTime" />
<result column="note" jdbcType="VARCHAR" property="note" />
</resultMap>
</mapper>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.deer.wms.produce.clothflow.dao.MtAloneByGoDyeFactoryMapper">
<resultMap id="BaseResultMap" type="com.deer.wms.produce.clothflow.model.MtAloneByGoDyeFactory">
<!--
WARNING - @mbg.generated
-->
<result column="id" jdbcType="INTEGER" property="id" />
<result column="operator_id" jdbcType="INTEGER" property="operatorId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="creator_id" jdbcType="INTEGER" property="creatorId" />
<result column="updater_id" jdbcType="INTEGER" property="updaterId" />
<result column="version" jdbcType="VARCHAR" property="version" />
<result column="go_dye_factory_status" jdbcType="INTEGER" property="goDyeFactoryStatus" />
<result column="company_id" jdbcType="INTEGER" property="companyId" />
<result column="product_id" jdbcType="INTEGER" property="productId" />
<result column="supplier_id" jdbcType="INTEGER" property="supplierId" />
<result column="supplier_code" jdbcType="VARCHAR" property="supplierCode" />
<result column="go_time" jdbcType="TIMESTAMP" property="goTime" />
<result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
<result column="plan_length" jdbcType="REAL" property="planLength" />
<result column="actual_length" jdbcType="REAL" property="actualLength" />
<result column="shrinkage" jdbcType="VARCHAR" property="shrinkage" />
<result column="cost" jdbcType="REAL" property="cost" />
<result column="note" jdbcType="VARCHAR" property="note" />
</resultMap>
</mapper>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.deer.wms.produce.clothflow.dao.MtAloneByLogisticsMapper">
<resultMap id="BaseResultMap" type="com.deer.wms.produce.clothflow.model.MtAloneByLogistics">
<!--
WARNING - @mbg.generated
-->
<result column="id" jdbcType="INTEGER" property="id" />
<result column="operator_id" jdbcType="INTEGER" property="operatorId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="creator_id" jdbcType="INTEGER" property="creatorId" />
<result column="version" jdbcType="VARCHAR" property="version" />
<result column="logistics_det_status" jdbcType="INTEGER" property="logisticsDetStatus" />
<result column="logistics_id" jdbcType="INTEGER" property="logisticsId" />
<result column="boxing_time" jdbcType="TIMESTAMP" property="boxingTime" />
<result column="in_ware_time" jdbcType="TIMESTAMP" property="inWareTime" />
<result column="out_ware_time" jdbcType="TIMESTAMP" property="outWareTime" />
<result column="out_ware_rolls" jdbcType="INTEGER" property="outWareRolls" />
<result column="out_ware_num" jdbcType="REAL" property="outWareNum" />
<result column="logistics_com" jdbcType="VARCHAR" property="logisticsCom" />
<result column="cost" jdbcType="REAL" property="cost" />
<result column="ship_time" jdbcType="TIMESTAMP" property="shipTime" />
<result column="receipt_peo" jdbcType="VARCHAR" property="receiptPeo" />
<result column="receipt_time" jdbcType="TIMESTAMP" property="receiptTime" />
<result column="note" jdbcType="VARCHAR" property="note" />
</resultMap>
</mapper>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.deer.wms.produce.clothflow.dao.MtAloneByRunClothMapper">
<resultMap id="BaseResultMap" type="com.deer.wms.produce.clothflow.model.MtAloneByRunCloth">
<!--
WARNING - @mbg.generated
-->
<result column="id" jdbcType="INTEGER" property="id" />
<result column="operator_id" jdbcType="INTEGER" property="operatorId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="creator_id" jdbcType="INTEGER" property="creatorId" />
<result column="updater_id" jdbcType="INTEGER" property="updaterId" />
<result column="version" jdbcType="VARCHAR" property="version" />
<result column="run_cloth_status" jdbcType="INTEGER" property="runClothStatus" />
<result column="run_cloth_id" jdbcType="INTEGER" property="runClothId" />
<result column="curr_progress" jdbcType="VARCHAR" property="currProgress" />
<result column="supplier_id" jdbcType="INTEGER" property="supplierId" />
<result column="supplier_code" jdbcType="VARCHAR" property="supplierCode" />
<result column="plan_length" jdbcType="REAL" property="planLength" />
<result column="actual_length" jdbcType="REAL" property="actualLength" />
<result column="shrinkage" jdbcType="VARCHAR" property="shrinkage" />
<result column="cost" jdbcType="REAL" property="cost" />
<result column="begin_time" jdbcType="TIMESTAMP" property="beginTime" />
<result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
<result column="note" jdbcType="VARCHAR" property="note" />
</resultMap>
</mapper>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.deer.wms.produce.clothflow.dao.MtAloneByTrimmingMapper">
<resultMap id="BaseResultMap" type="com.deer.wms.produce.clothflow.model.MtAloneByTrimming">
<!--
WARNING - @mbg.generated
-->
<result column="id" jdbcType="INTEGER" property="id" />
<result column="operator_id" jdbcType="INTEGER" property="operatorId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="creator_id" jdbcType="INTEGER" property="creatorId" />
<result column="updater_id" jdbcType="INTEGER" property="updaterId" />
<result column="version" jdbcType="VARCHAR" property="version" />
<result column="trimming_status" jdbcType="INTEGER" property="trimmingStatus" />
<result column="product_id" jdbcType="INTEGER" property="productId" />
<result column="a_shelf_id" jdbcType="INTEGER" property="aShelfId" />
<result column="a_shelf_name" jdbcType="VARCHAR" property="aShelfName" />
<result column="model" jdbcType="VARCHAR" property="model" />
<result column="trim_spec" jdbcType="INTEGER" property="trimSpec" />
<result column="trimming_range" jdbcType="VARCHAR" property="trimmingRange" />
<result column="packing_method" jdbcType="VARCHAR" property="packingMethod" />
<result column="paper_tube_type" jdbcType="VARCHAR" property="paperTubeType" />
<result column="rice_per_roll" jdbcType="REAL" property="ricePerRoll" />
<result column="num_rolls" jdbcType="INTEGER" property="numRolls" />
<result column="total_meters" jdbcType="REAL" property="totalMeters" />
<result column="cut_meters" jdbcType="REAL" property="cutMeters" />
<result column="cut_prop" jdbcType="REAL" property="cutProp" />
<result column="completed_time" jdbcType="TIMESTAMP" property="completedTime" />
<result column="note" jdbcType="VARCHAR" property="note" />
</resultMap>
</mapper>

View File

@@ -0,0 +1,190 @@
package com.deer.wms.produce.clothflow.model;
import java.util.Date;
import javax.persistence.*;
@Table(name = "mt_alone_by_a_shelf")
public class MtAloneByAShelf {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* 添加时间
*/
@Column(name = "create_time")
private Date createTime;
/**
* 版本号 默认为 1
*/
private String version;
/**
* 状态 0处理中1处理完成2逻辑删除
*/
@Column(name = "a_shelf_status")
private Integer aShelfStatus;
/**
* 绑定公司id
*/
@Column(name = "company_id")
private Integer companyId;
/**
* A字架编码
*/
@Column(name = "a_shelf_code")
private String aShelfCode;
/**
* A字架名称
*/
@Column(name = "a_shelf_name")
private String aShelfName;
/**
* 备注
*/
private String note;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* 获取添加时间
*
* @return create_time - 添加时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 设置添加时间
*
* @param createTime 添加时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* 获取版本号 默认为 1
*
* @return version - 版本号 默认为 1
*/
public String getVersion() {
return version;
}
/**
* 设置版本号 默认为 1
*
* @param version 版本号 默认为 1
*/
public void setVersion(String version) {
this.version = version;
}
/**
* 获取状态 0处理中1处理完成2逻辑删除
*
* @return a_shelf_status - 状态 0处理中1处理完成2逻辑删除
*/
public Integer getaShelfStatus() {
return aShelfStatus;
}
/**
* 设置状态 0处理中1处理完成2逻辑删除
*
* @param aShelfStatus 状态 0处理中1处理完成2逻辑删除
*/
public void setaShelfStatus(Integer aShelfStatus) {
this.aShelfStatus = aShelfStatus;
}
/**
* 获取绑定公司id
*
* @return company_id - 绑定公司id
*/
public Integer getCompanyId() {
return companyId;
}
/**
* 设置绑定公司id
*
* @param companyId 绑定公司id
*/
public void setCompanyId(Integer companyId) {
this.companyId = companyId;
}
/**
* 获取A字架编码
*
* @return a_shelf_code - A字架编码
*/
public String getaShelfCode() {
return aShelfCode;
}
/**
* 设置A字架编码
*
* @param aShelfCode A字架编码
*/
public void setaShelfCode(String aShelfCode) {
this.aShelfCode = aShelfCode;
}
/**
* 获取A字架名称
*
* @return a_shelf_name - A字架名称
*/
public String getaShelfName() {
return aShelfName;
}
/**
* 设置A字架名称
*
* @param aShelfName A字架名称
*/
public void setaShelfName(String aShelfName) {
this.aShelfName = aShelfName;
}
/**
* 获取备注
*
* @return note - 备注
*/
public String getNote() {
return note;
}
/**
* 设置备注
*
* @param note 备注
*/
public void setNote(String note) {
this.note = note;
}
}

View File

@@ -0,0 +1,9 @@
package com.deer.wms.produce.clothflow.model;
import com.deer.wms.project.seed.core.service.QueryParams;
/**
* Created by on 2020/08/18.
*/
public class MtAloneByAShelfParams extends QueryParams {
}

View File

@@ -0,0 +1,452 @@
package com.deer.wms.produce.clothflow.model;
import java.util.Date;
import javax.persistence.*;
@Table(name = "mt_alone_by_bake_cloth")
public class MtAloneByBakeCloth {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* 操作员id
*/
@Column(name = "operator_id")
private Integer operatorId;
/**
* 添加时间
*/
@Column(name = "create_time")
private Date createTime;
/**
* 修改时间
*/
@Column(name = "update_time")
private Date updateTime;
/**
* 创建人id
*/
@Column(name = "creator_id")
private Integer creatorId;
/**
* 更新人id
*/
@Column(name = "updater_id")
private Integer updaterId;
/**
* 版本号 默认为 1
*/
private String version;
/**
* 状态 0处理中1处理完成2逻辑删除
*/
@Column(name = "bake_cloth_status")
private Integer bakeClothStatus;
/**
* 跑布id关联产品表mt_alone_by_product_info
*/
@Column(name = "run_cloth_id")
private Integer runClothId;
/**
* 当前进度,匹配字典表编码,内容:在染厂
*/
@Column(name = "curr_progress")
private String currProgress;
/**
* 加工商id ,管理供应商表mt_alone_processor
*/
@Column(name = "supplier_id")
private Integer supplierId;
/**
* 加工商编号,选择获取
*/
@Column(name = "supplier_code")
private String supplierCode;
/**
* 计划长度(M)
*/
@Column(name = "plan_length")
private Float planLength;
/**
* 实际长度(M)
*/
@Column(name = "actual_length")
private Float actualLength;
/**
* 缩率%=实际长度/计划长度 *100%
*/
private String shrinkage;
/**
* 费用(元)
*/
private Float cost;
/**
* 开始时间
*/
@Column(name = "begin_time")
private Date beginTime;
/**
* 结束时间
*/
@Column(name = "end_time")
private Date endTime;
/**
* 备注
*/
private String note;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* 获取操作员id
*
* @return operator_id - 操作员id
*/
public Integer getOperatorId() {
return operatorId;
}
/**
* 设置操作员id
*
* @param operatorId 操作员id
*/
public void setOperatorId(Integer operatorId) {
this.operatorId = operatorId;
}
/**
* 获取添加时间
*
* @return create_time - 添加时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 设置添加时间
*
* @param createTime 添加时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* 获取修改时间
*
* @return update_time - 修改时间
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* 设置修改时间
*
* @param updateTime 修改时间
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* 获取创建人id
*
* @return creator_id - 创建人id
*/
public Integer getCreatorId() {
return creatorId;
}
/**
* 设置创建人id
*
* @param creatorId 创建人id
*/
public void setCreatorId(Integer creatorId) {
this.creatorId = creatorId;
}
/**
* 获取更新人id
*
* @return updater_id - 更新人id
*/
public Integer getUpdaterId() {
return updaterId;
}
/**
* 设置更新人id
*
* @param updaterId 更新人id
*/
public void setUpdaterId(Integer updaterId) {
this.updaterId = updaterId;
}
/**
* 获取版本号 默认为 1
*
* @return version - 版本号 默认为 1
*/
public String getVersion() {
return version;
}
/**
* 设置版本号 默认为 1
*
* @param version 版本号 默认为 1
*/
public void setVersion(String version) {
this.version = version;
}
/**
* 获取状态 0处理中1处理完成2逻辑删除
*
* @return bake_cloth_status - 状态 0处理中1处理完成2逻辑删除
*/
public Integer getBakeClothStatus() {
return bakeClothStatus;
}
/**
* 设置状态 0处理中1处理完成2逻辑删除
*
* @param bakeClothStatus 状态 0处理中1处理完成2逻辑删除
*/
public void setBakeClothStatus(Integer bakeClothStatus) {
this.bakeClothStatus = bakeClothStatus;
}
/**
* 获取跑布id关联产品表mt_alone_by_product_info
*
* @return run_cloth_id - 跑布id关联产品表mt_alone_by_product_info
*/
public Integer getRunClothId() {
return runClothId;
}
/**
* 设置跑布id关联产品表mt_alone_by_product_info
*
* @param runClothId 跑布id关联产品表mt_alone_by_product_info
*/
public void setRunClothId(Integer runClothId) {
this.runClothId = runClothId;
}
/**
* 获取当前进度,匹配字典表编码,内容:在染厂
*
* @return curr_progress - 当前进度,匹配字典表编码,内容:在染厂
*/
public String getCurrProgress() {
return currProgress;
}
/**
* 设置当前进度,匹配字典表编码,内容:在染厂
*
* @param currProgress 当前进度,匹配字典表编码,内容:在染厂
*/
public void setCurrProgress(String currProgress) {
this.currProgress = currProgress;
}
/**
* 获取加工商id ,管理供应商表mt_alone_processor
*
* @return supplier_id - 加工商id ,管理供应商表mt_alone_processor
*/
public Integer getSupplierId() {
return supplierId;
}
/**
* 设置加工商id ,管理供应商表mt_alone_processor
*
* @param supplierId 加工商id ,管理供应商表mt_alone_processor
*/
public void setSupplierId(Integer supplierId) {
this.supplierId = supplierId;
}
/**
* 获取加工商编号,选择获取
*
* @return supplier_code - 加工商编号,选择获取
*/
public String getSupplierCode() {
return supplierCode;
}
/**
* 设置加工商编号,选择获取
*
* @param supplierCode 加工商编号,选择获取
*/
public void setSupplierCode(String supplierCode) {
this.supplierCode = supplierCode;
}
/**
* 获取计划长度(M)
*
* @return plan_length - 计划长度(M)
*/
public Float getPlanLength() {
return planLength;
}
/**
* 设置计划长度(M)
*
* @param planLength 计划长度(M)
*/
public void setPlanLength(Float planLength) {
this.planLength = planLength;
}
/**
* 获取实际长度(M)
*
* @return actual_length - 实际长度(M)
*/
public Float getActualLength() {
return actualLength;
}
/**
* 设置实际长度(M)
*
* @param actualLength 实际长度(M)
*/
public void setActualLength(Float actualLength) {
this.actualLength = actualLength;
}
/**
* 获取缩率%=实际长度/计划长度 *100%
*
* @return shrinkage - 缩率%=实际长度/计划长度 *100%
*/
public String getShrinkage() {
return shrinkage;
}
/**
* 设置缩率%=实际长度/计划长度 *100%
*
* @param shrinkage 缩率%=实际长度/计划长度 *100%
*/
public void setShrinkage(String shrinkage) {
this.shrinkage = shrinkage;
}
/**
* 获取费用(元)
*
* @return cost - 费用(元)
*/
public Float getCost() {
return cost;
}
/**
* 设置费用(元)
*
* @param cost 费用(元)
*/
public void setCost(Float cost) {
this.cost = cost;
}
/**
* 获取开始时间
*
* @return begin_time - 开始时间
*/
public Date getBeginTime() {
return beginTime;
}
/**
* 设置开始时间
*
* @param beginTime 开始时间
*/
public void setBeginTime(Date beginTime) {
this.beginTime = beginTime;
}
/**
* 获取结束时间
*
* @return end_time - 结束时间
*/
public Date getEndTime() {
return endTime;
}
/**
* 设置结束时间
*
* @param endTime 结束时间
*/
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
/**
* 获取备注
*
* @return note - 备注
*/
public String getNote() {
return note;
}
/**
* 设置备注
*
* @param note 备注
*/
public void setNote(String note) {
this.note = note;
}
}

View File

@@ -0,0 +1,9 @@
package com.deer.wms.produce.clothflow.model;
import com.deer.wms.project.seed.core.service.QueryParams;
/**
* Created by on 2020/08/18.
*/
public class MtAloneByBakeClothParams extends QueryParams {
}

View File

@@ -0,0 +1,814 @@
package com.deer.wms.produce.clothflow.model;
import java.util.Date;
import javax.persistence.*;
@Table(name = "mt_alone_by_coating")
public class MtAloneByCoating {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* 操作员id
*/
@Column(name = "operator_id")
private Integer operatorId;
/**
* 添加时间
*/
@Column(name = "create_time")
private Date createTime;
/**
* 修改时间
*/
@Column(name = "update_time")
private Date updateTime;
/**
* 创建人id
*/
@Column(name = "creator_id")
private Integer creatorId;
/**
* 更新人id
*/
@Column(name = "updater_id")
private Integer updaterId;
/**
* 版本号 默认为 1
*/
private String version;
/**
* 状态 0处理中1处理完成2逻辑删除
*/
@Column(name = "top_glue_ready_status")
private Integer topGlueReadyStatus;
/**
* 产品id关联产品表mt_alone_by_product_info
*/
@Column(name = "product_id")
private Integer productId;
/**
* A字架id关联基础A字架表mt_alone_by_a_shelf
*/
@Column(name = "a_shelf_id")
private Integer aShelfId;
/**
* A字架名称
*/
@Column(name = "a_shelf_name")
private String aShelfName;
/**
* 打底胶水id关联胶水表mt_alone_by_coating_glue
*/
@Column(name = "base_glue_id")
private Integer baseGlueId;
/**
* 打底胶水名称
*/
@Column(name = "base_name")
private String baseName;
/**
* 打底胶水数量
*/
@Column(name = "base_num")
private Float baseNum;
/**
* 面涂胶水id关联胶水表mt_alone_by_coating_glue
*/
@Column(name = "top_glue_id")
private Integer topGlueId;
/**
* 面涂胶水名称
*/
@Column(name = "top_name")
private String topName;
/**
* 面涂胶水数量
*/
@Column(name = "top_num")
private Float topNum;
/**
* 打底胶水id关联胶水表mt_alone_by_coating_glue
*/
@Column(name = "other_glue_id")
private Integer otherGlueId;
/**
* 其它胶水名称
*/
@Column(name = "other_name")
private String otherName;
/**
* 其它胶水数量
*/
@Column(name = "other_num")
private Float otherNum;
/**
* 准备时间
*/
@Column(name = "ready_time")
private Date readyTime;
/**
* 一刀胶水id关联胶水表mt_alone_by_coating_glue
*/
@Column(name = "ak_glue_id")
private Integer akGlueId;
/**
* 一刀胶水名称
*/
@Column(name = "ak_glue_name")
private String akGlueName;
/**
* 一刀克重
*/
@Column(name = "ak_weight")
private Float akWeight;
/**
* 二刀胶水id关联胶水表mt_alone_by_coating_glue
*/
@Column(name = "bk_glue_id")
private Integer bkGlueId;
/**
* 二刀胶水名称
*/
@Column(name = "bk_glue_name")
private String bkGlueName;
/**
* 二刀克重
*/
@Column(name = "bk_weight")
private Float bkWeight;
/**
* 三刀胶水id关联胶水表mt_alone_by_coating_glue
*/
@Column(name = "ck_glue_id")
private Integer ckGlueId;
/**
* 三刀胶水名称
*/
@Column(name = "ck_glue_name")
private String ckGlueName;
/**
* 三刀克重
*/
@Column(name = "ck_weight")
private Float ckWeight;
/**
* 四刀胶水id关联胶水表mt_alone_by_coating_glue
*/
@Column(name = "dk_glue_id")
private Integer dkGlueId;
/**
* 四刀胶水名称
*/
@Column(name = "dk_glue_name")
private String dkGlueName;
/**
* 四刀克重
*/
@Column(name = "dk_weight")
private Float dkWeight;
/**
* 备注
*/
private String note;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* 获取操作员id
*
* @return operator_id - 操作员id
*/
public Integer getOperatorId() {
return operatorId;
}
/**
* 设置操作员id
*
* @param operatorId 操作员id
*/
public void setOperatorId(Integer operatorId) {
this.operatorId = operatorId;
}
/**
* 获取添加时间
*
* @return create_time - 添加时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 设置添加时间
*
* @param createTime 添加时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* 获取修改时间
*
* @return update_time - 修改时间
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* 设置修改时间
*
* @param updateTime 修改时间
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* 获取创建人id
*
* @return creator_id - 创建人id
*/
public Integer getCreatorId() {
return creatorId;
}
/**
* 设置创建人id
*
* @param creatorId 创建人id
*/
public void setCreatorId(Integer creatorId) {
this.creatorId = creatorId;
}
/**
* 获取更新人id
*
* @return updater_id - 更新人id
*/
public Integer getUpdaterId() {
return updaterId;
}
/**
* 设置更新人id
*
* @param updaterId 更新人id
*/
public void setUpdaterId(Integer updaterId) {
this.updaterId = updaterId;
}
/**
* 获取版本号 默认为 1
*
* @return version - 版本号 默认为 1
*/
public String getVersion() {
return version;
}
/**
* 设置版本号 默认为 1
*
* @param version 版本号 默认为 1
*/
public void setVersion(String version) {
this.version = version;
}
/**
* 获取状态 0处理中1处理完成2逻辑删除
*
* @return top_glue_ready_status - 状态 0处理中1处理完成2逻辑删除
*/
public Integer getTopGlueReadyStatus() {
return topGlueReadyStatus;
}
/**
* 设置状态 0处理中1处理完成2逻辑删除
*
* @param topGlueReadyStatus 状态 0处理中1处理完成2逻辑删除
*/
public void setTopGlueReadyStatus(Integer topGlueReadyStatus) {
this.topGlueReadyStatus = topGlueReadyStatus;
}
/**
* 获取产品id关联产品表mt_alone_by_product_info
*
* @return product_id - 产品id关联产品表mt_alone_by_product_info
*/
public Integer getProductId() {
return productId;
}
/**
* 设置产品id关联产品表mt_alone_by_product_info
*
* @param productId 产品id关联产品表mt_alone_by_product_info
*/
public void setProductId(Integer productId) {
this.productId = productId;
}
/**
* 获取A字架id关联基础A字架表mt_alone_by_a_shelf
*
* @return a_shelf_id - A字架id关联基础A字架表mt_alone_by_a_shelf
*/
public Integer getaShelfId() {
return aShelfId;
}
/**
* 设置A字架id关联基础A字架表mt_alone_by_a_shelf
*
* @param aShelfId A字架id关联基础A字架表mt_alone_by_a_shelf
*/
public void setaShelfId(Integer aShelfId) {
this.aShelfId = aShelfId;
}
/**
* 获取A字架名称
*
* @return a_shelf_name - A字架名称
*/
public String getaShelfName() {
return aShelfName;
}
/**
* 设置A字架名称
*
* @param aShelfName A字架名称
*/
public void setaShelfName(String aShelfName) {
this.aShelfName = aShelfName;
}
/**
* 获取打底胶水id关联胶水表mt_alone_by_coating_glue
*
* @return base_glue_id - 打底胶水id关联胶水表mt_alone_by_coating_glue
*/
public Integer getBaseGlueId() {
return baseGlueId;
}
/**
* 设置打底胶水id关联胶水表mt_alone_by_coating_glue
*
* @param baseGlueId 打底胶水id关联胶水表mt_alone_by_coating_glue
*/
public void setBaseGlueId(Integer baseGlueId) {
this.baseGlueId = baseGlueId;
}
/**
* 获取打底胶水名称
*
* @return base_name - 打底胶水名称
*/
public String getBaseName() {
return baseName;
}
/**
* 设置打底胶水名称
*
* @param baseName 打底胶水名称
*/
public void setBaseName(String baseName) {
this.baseName = baseName;
}
/**
* 获取打底胶水数量
*
* @return base_num - 打底胶水数量
*/
public Float getBaseNum() {
return baseNum;
}
/**
* 设置打底胶水数量
*
* @param baseNum 打底胶水数量
*/
public void setBaseNum(Float baseNum) {
this.baseNum = baseNum;
}
/**
* 获取面涂胶水id关联胶水表mt_alone_by_coating_glue
*
* @return top_glue_id - 面涂胶水id关联胶水表mt_alone_by_coating_glue
*/
public Integer getTopGlueId() {
return topGlueId;
}
/**
* 设置面涂胶水id关联胶水表mt_alone_by_coating_glue
*
* @param topGlueId 面涂胶水id关联胶水表mt_alone_by_coating_glue
*/
public void setTopGlueId(Integer topGlueId) {
this.topGlueId = topGlueId;
}
/**
* 获取面涂胶水名称
*
* @return top_name - 面涂胶水名称
*/
public String getTopName() {
return topName;
}
/**
* 设置面涂胶水名称
*
* @param topName 面涂胶水名称
*/
public void setTopName(String topName) {
this.topName = topName;
}
/**
* 获取面涂胶水数量
*
* @return top_num - 面涂胶水数量
*/
public Float getTopNum() {
return topNum;
}
/**
* 设置面涂胶水数量
*
* @param topNum 面涂胶水数量
*/
public void setTopNum(Float topNum) {
this.topNum = topNum;
}
/**
* 获取打底胶水id关联胶水表mt_alone_by_coating_glue
*
* @return other_glue_id - 打底胶水id关联胶水表mt_alone_by_coating_glue
*/
public Integer getOtherGlueId() {
return otherGlueId;
}
/**
* 设置打底胶水id关联胶水表mt_alone_by_coating_glue
*
* @param otherGlueId 打底胶水id关联胶水表mt_alone_by_coating_glue
*/
public void setOtherGlueId(Integer otherGlueId) {
this.otherGlueId = otherGlueId;
}
/**
* 获取其它胶水名称
*
* @return other_name - 其它胶水名称
*/
public String getOtherName() {
return otherName;
}
/**
* 设置其它胶水名称
*
* @param otherName 其它胶水名称
*/
public void setOtherName(String otherName) {
this.otherName = otherName;
}
/**
* 获取其它胶水数量
*
* @return other_num - 其它胶水数量
*/
public Float getOtherNum() {
return otherNum;
}
/**
* 设置其它胶水数量
*
* @param otherNum 其它胶水数量
*/
public void setOtherNum(Float otherNum) {
this.otherNum = otherNum;
}
/**
* 获取准备时间
*
* @return ready_time - 准备时间
*/
public Date getReadyTime() {
return readyTime;
}
/**
* 设置准备时间
*
* @param readyTime 准备时间
*/
public void setReadyTime(Date readyTime) {
this.readyTime = readyTime;
}
/**
* 获取一刀胶水id关联胶水表mt_alone_by_coating_glue
*
* @return ak_glue_id - 一刀胶水id关联胶水表mt_alone_by_coating_glue
*/
public Integer getAkGlueId() {
return akGlueId;
}
/**
* 设置一刀胶水id关联胶水表mt_alone_by_coating_glue
*
* @param akGlueId 一刀胶水id关联胶水表mt_alone_by_coating_glue
*/
public void setAkGlueId(Integer akGlueId) {
this.akGlueId = akGlueId;
}
/**
* 获取一刀胶水名称
*
* @return ak_glue_name - 一刀胶水名称
*/
public String getAkGlueName() {
return akGlueName;
}
/**
* 设置一刀胶水名称
*
* @param akGlueName 一刀胶水名称
*/
public void setAkGlueName(String akGlueName) {
this.akGlueName = akGlueName;
}
/**
* 获取一刀克重
*
* @return ak_weight - 一刀克重
*/
public Float getAkWeight() {
return akWeight;
}
/**
* 设置一刀克重
*
* @param akWeight 一刀克重
*/
public void setAkWeight(Float akWeight) {
this.akWeight = akWeight;
}
/**
* 获取二刀胶水id关联胶水表mt_alone_by_coating_glue
*
* @return bk_glue_id - 二刀胶水id关联胶水表mt_alone_by_coating_glue
*/
public Integer getBkGlueId() {
return bkGlueId;
}
/**
* 设置二刀胶水id关联胶水表mt_alone_by_coating_glue
*
* @param bkGlueId 二刀胶水id关联胶水表mt_alone_by_coating_glue
*/
public void setBkGlueId(Integer bkGlueId) {
this.bkGlueId = bkGlueId;
}
/**
* 获取二刀胶水名称
*
* @return bk_glue_name - 二刀胶水名称
*/
public String getBkGlueName() {
return bkGlueName;
}
/**
* 设置二刀胶水名称
*
* @param bkGlueName 二刀胶水名称
*/
public void setBkGlueName(String bkGlueName) {
this.bkGlueName = bkGlueName;
}
/**
* 获取二刀克重
*
* @return bk_weight - 二刀克重
*/
public Float getBkWeight() {
return bkWeight;
}
/**
* 设置二刀克重
*
* @param bkWeight 二刀克重
*/
public void setBkWeight(Float bkWeight) {
this.bkWeight = bkWeight;
}
/**
* 获取三刀胶水id关联胶水表mt_alone_by_coating_glue
*
* @return ck_glue_id - 三刀胶水id关联胶水表mt_alone_by_coating_glue
*/
public Integer getCkGlueId() {
return ckGlueId;
}
/**
* 设置三刀胶水id关联胶水表mt_alone_by_coating_glue
*
* @param ckGlueId 三刀胶水id关联胶水表mt_alone_by_coating_glue
*/
public void setCkGlueId(Integer ckGlueId) {
this.ckGlueId = ckGlueId;
}
/**
* 获取三刀胶水名称
*
* @return ck_glue_name - 三刀胶水名称
*/
public String getCkGlueName() {
return ckGlueName;
}
/**
* 设置三刀胶水名称
*
* @param ckGlueName 三刀胶水名称
*/
public void setCkGlueName(String ckGlueName) {
this.ckGlueName = ckGlueName;
}
/**
* 获取三刀克重
*
* @return ck_weight - 三刀克重
*/
public Float getCkWeight() {
return ckWeight;
}
/**
* 设置三刀克重
*
* @param ckWeight 三刀克重
*/
public void setCkWeight(Float ckWeight) {
this.ckWeight = ckWeight;
}
/**
* 获取四刀胶水id关联胶水表mt_alone_by_coating_glue
*
* @return dk_glue_id - 四刀胶水id关联胶水表mt_alone_by_coating_glue
*/
public Integer getDkGlueId() {
return dkGlueId;
}
/**
* 设置四刀胶水id关联胶水表mt_alone_by_coating_glue
*
* @param dkGlueId 四刀胶水id关联胶水表mt_alone_by_coating_glue
*/
public void setDkGlueId(Integer dkGlueId) {
this.dkGlueId = dkGlueId;
}
/**
* 获取四刀胶水名称
*
* @return dk_glue_name - 四刀胶水名称
*/
public String getDkGlueName() {
return dkGlueName;
}
/**
* 设置四刀胶水名称
*
* @param dkGlueName 四刀胶水名称
*/
public void setDkGlueName(String dkGlueName) {
this.dkGlueName = dkGlueName;
}
/**
* 获取四刀克重
*
* @return dk_weight - 四刀克重
*/
public Float getDkWeight() {
return dkWeight;
}
/**
* 设置四刀克重
*
* @param dkWeight 四刀克重
*/
public void setDkWeight(Float dkWeight) {
this.dkWeight = dkWeight;
}
/**
* 获取备注
*
* @return note - 备注
*/
public String getNote() {
return note;
}
/**
* 设置备注
*
* @param note 备注
*/
public void setNote(String note) {
this.note = note;
}
}

View File

@@ -0,0 +1,236 @@
package com.deer.wms.produce.clothflow.model;
import java.util.Date;
import javax.persistence.*;
@Table(name = "mt_alone_by_coating_glue")
public class MtAloneByCoatingGlue {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* 添加时间
*/
@Column(name = "create_time")
private Date createTime;
/**
* 版本号 默认为 1
*/
private String version;
/**
* 状态 0处理中1处理完成2逻辑删除
*/
@Column(name = "gule_status")
private Integer guleStatus;
/**
* 胶水类型数字字典code内容打底胶水面涂胶水其它胶水
*/
@Column(name = "glue_types")
private String glueTypes;
/**
* 胶水名称
*/
@Column(name = "glue_name")
private String glueName;
/**
* 胶水code
*/
@Column(name = "glue_code")
private String glueCode;
/**
* 单位
*/
private String unit;
/**
* 规格
*/
private String spec;
/**
* 备注
*/
private String note;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* 获取添加时间
*
* @return create_time - 添加时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 设置添加时间
*
* @param createTime 添加时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* 获取版本号 默认为 1
*
* @return version - 版本号 默认为 1
*/
public String getVersion() {
return version;
}
/**
* 设置版本号 默认为 1
*
* @param version 版本号 默认为 1
*/
public void setVersion(String version) {
this.version = version;
}
/**
* 获取状态 0处理中1处理完成2逻辑删除
*
* @return gule_status - 状态 0处理中1处理完成2逻辑删除
*/
public Integer getGuleStatus() {
return guleStatus;
}
/**
* 设置状态 0处理中1处理完成2逻辑删除
*
* @param guleStatus 状态 0处理中1处理完成2逻辑删除
*/
public void setGuleStatus(Integer guleStatus) {
this.guleStatus = guleStatus;
}
/**
* 获取胶水类型数字字典code内容打底胶水面涂胶水其它胶水
*
* @return glue_types - 胶水类型数字字典code内容打底胶水面涂胶水其它胶水
*/
public String getGlueTypes() {
return glueTypes;
}
/**
* 设置胶水类型数字字典code内容打底胶水面涂胶水其它胶水
*
* @param glueTypes 胶水类型数字字典code内容打底胶水面涂胶水其它胶水
*/
public void setGlueTypes(String glueTypes) {
this.glueTypes = glueTypes;
}
/**
* 获取胶水名称
*
* @return glue_name - 胶水名称
*/
public String getGlueName() {
return glueName;
}
/**
* 设置胶水名称
*
* @param glueName 胶水名称
*/
public void setGlueName(String glueName) {
this.glueName = glueName;
}
/**
* 获取胶水code
*
* @return glue_code - 胶水code
*/
public String getGlueCode() {
return glueCode;
}
/**
* 设置胶水code
*
* @param glueCode 胶水code
*/
public void setGlueCode(String glueCode) {
this.glueCode = glueCode;
}
/**
* 获取单位
*
* @return unit - 单位
*/
public String getUnit() {
return unit;
}
/**
* 设置单位
*
* @param unit 单位
*/
public void setUnit(String unit) {
this.unit = unit;
}
/**
* 获取规格
*
* @return spec - 规格
*/
public String getSpec() {
return spec;
}
/**
* 设置规格
*
* @param spec 规格
*/
public void setSpec(String spec) {
this.spec = spec;
}
/**
* 获取备注
*
* @return note - 备注
*/
public String getNote() {
return note;
}
/**
* 设置备注
*
* @param note 备注
*/
public void setNote(String note) {
this.note = note;
}
}

View File

@@ -0,0 +1,9 @@
package com.deer.wms.produce.clothflow.model;
import com.deer.wms.project.seed.core.service.QueryParams;
/**
* Created by on 2020/08/18.
*/
public class MtAloneByCoatingGlueParams extends QueryParams {
}

View File

@@ -0,0 +1,9 @@
package com.deer.wms.produce.clothflow.model;
import com.deer.wms.project.seed.core.service.QueryParams;
/**
* Created by on 2020/08/18.
*/
public class MtAloneByCoatingParams extends QueryParams {
}

View File

@@ -0,0 +1,478 @@
package com.deer.wms.produce.clothflow.model;
import java.util.Date;
import javax.persistence.*;
@Table(name = "mt_alone_by_coating_progress")
public class MtAloneByCoatingProgress {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* 操作员id
*/
@Column(name = "operator_id")
private Integer operatorId;
/**
* 添加时间
*/
@Column(name = "create_time")
private Date createTime;
/**
* 修改时间
*/
@Column(name = "update_time")
private Date updateTime;
/**
* 创建人id
*/
@Column(name = "creator_id")
private Integer creatorId;
/**
* 更新人id
*/
@Column(name = "updater_id")
private Integer updaterId;
/**
* 版本号 默认为 1
*/
private String version;
/**
* 状态 0处理中1处理完成2逻辑删除
*/
@Column(name = "coating_progress_status")
private Integer coatingProgressStatus;
/**
* 产品id关联产品表mt_alone_by_product_info
*/
@Column(name = "product_id")
private Integer productId;
/**
* A字架id关联基础A字架表mt_alone_by_a_shelf
*/
@Column(name = "a_shelf_id")
private Integer aShelfId;
/**
* A字架名称
*/
@Column(name = "a_shelf_name")
private String aShelfName;
/**
* 基材门幅
*/
@Column(name = "sub_width")
private Float subWidth;
/**
* 实切门幅
*/
@Column(name = "actual_width")
private Float actualWidth;
/**
* 门幅比(%)
*/
@Column(name = "width_prop")
private Float widthProp;
/**
* 基材米数(M)
*/
@Column(name = "sub_meters")
private Float subMeters;
/**
* 实际米数(M)
*/
@Column(name = "actual_meters")
private Float actualMeters;
/**
* 完成米数(M)
*/
@Column(name = "completed_meters")
private Float completedMeters;
/**
* 完成比(%)
*/
@Column(name = "completed_prop")
private Float completedProp;
/**
* 完成时间
*/
@Column(name = "completed_time")
private Date completedTime;
/**
* 备注
*/
private String note;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* 获取操作员id
*
* @return operator_id - 操作员id
*/
public Integer getOperatorId() {
return operatorId;
}
/**
* 设置操作员id
*
* @param operatorId 操作员id
*/
public void setOperatorId(Integer operatorId) {
this.operatorId = operatorId;
}
/**
* 获取添加时间
*
* @return create_time - 添加时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 设置添加时间
*
* @param createTime 添加时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* 获取修改时间
*
* @return update_time - 修改时间
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* 设置修改时间
*
* @param updateTime 修改时间
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* 获取创建人id
*
* @return creator_id - 创建人id
*/
public Integer getCreatorId() {
return creatorId;
}
/**
* 设置创建人id
*
* @param creatorId 创建人id
*/
public void setCreatorId(Integer creatorId) {
this.creatorId = creatorId;
}
/**
* 获取更新人id
*
* @return updater_id - 更新人id
*/
public Integer getUpdaterId() {
return updaterId;
}
/**
* 设置更新人id
*
* @param updaterId 更新人id
*/
public void setUpdaterId(Integer updaterId) {
this.updaterId = updaterId;
}
/**
* 获取版本号 默认为 1
*
* @return version - 版本号 默认为 1
*/
public String getVersion() {
return version;
}
/**
* 设置版本号 默认为 1
*
* @param version 版本号 默认为 1
*/
public void setVersion(String version) {
this.version = version;
}
/**
* 获取状态 0处理中1处理完成2逻辑删除
*
* @return coating_progress_status - 状态 0处理中1处理完成2逻辑删除
*/
public Integer getCoatingProgressStatus() {
return coatingProgressStatus;
}
/**
* 设置状态 0处理中1处理完成2逻辑删除
*
* @param coatingProgressStatus 状态 0处理中1处理完成2逻辑删除
*/
public void setCoatingProgressStatus(Integer coatingProgressStatus) {
this.coatingProgressStatus = coatingProgressStatus;
}
/**
* 获取产品id关联产品表mt_alone_by_product_info
*
* @return product_id - 产品id关联产品表mt_alone_by_product_info
*/
public Integer getProductId() {
return productId;
}
/**
* 设置产品id关联产品表mt_alone_by_product_info
*
* @param productId 产品id关联产品表mt_alone_by_product_info
*/
public void setProductId(Integer productId) {
this.productId = productId;
}
/**
* 获取A字架id关联基础A字架表mt_alone_by_a_shelf
*
* @return a_shelf_id - A字架id关联基础A字架表mt_alone_by_a_shelf
*/
public Integer getaShelfId() {
return aShelfId;
}
/**
* 设置A字架id关联基础A字架表mt_alone_by_a_shelf
*
* @param aShelfId A字架id关联基础A字架表mt_alone_by_a_shelf
*/
public void setaShelfId(Integer aShelfId) {
this.aShelfId = aShelfId;
}
/**
* 获取A字架名称
*
* @return a_shelf_name - A字架名称
*/
public String getaShelfName() {
return aShelfName;
}
/**
* 设置A字架名称
*
* @param aShelfName A字架名称
*/
public void setaShelfName(String aShelfName) {
this.aShelfName = aShelfName;
}
/**
* 获取基材门幅
*
* @return sub_width - 基材门幅
*/
public Float getSubWidth() {
return subWidth;
}
/**
* 设置基材门幅
*
* @param subWidth 基材门幅
*/
public void setSubWidth(Float subWidth) {
this.subWidth = subWidth;
}
/**
* 获取实切门幅
*
* @return actual_width - 实切门幅
*/
public Float getActualWidth() {
return actualWidth;
}
/**
* 设置实切门幅
*
* @param actualWidth 实切门幅
*/
public void setActualWidth(Float actualWidth) {
this.actualWidth = actualWidth;
}
/**
* 获取门幅比(%)
*
* @return width_prop - 门幅比(%)
*/
public Float getWidthProp() {
return widthProp;
}
/**
* 设置门幅比(%)
*
* @param widthProp 门幅比(%)
*/
public void setWidthProp(Float widthProp) {
this.widthProp = widthProp;
}
/**
* 获取基材米数(M)
*
* @return sub_meters - 基材米数(M)
*/
public Float getSubMeters() {
return subMeters;
}
/**
* 设置基材米数(M)
*
* @param subMeters 基材米数(M)
*/
public void setSubMeters(Float subMeters) {
this.subMeters = subMeters;
}
/**
* 获取实际米数(M)
*
* @return actual_meters - 实际米数(M)
*/
public Float getActualMeters() {
return actualMeters;
}
/**
* 设置实际米数(M)
*
* @param actualMeters 实际米数(M)
*/
public void setActualMeters(Float actualMeters) {
this.actualMeters = actualMeters;
}
/**
* 获取完成米数(M)
*
* @return completed_meters - 完成米数(M)
*/
public Float getCompletedMeters() {
return completedMeters;
}
/**
* 设置完成米数(M)
*
* @param completedMeters 完成米数(M)
*/
public void setCompletedMeters(Float completedMeters) {
this.completedMeters = completedMeters;
}
/**
* 获取完成比(%)
*
* @return completed_prop - 完成比(%)
*/
public Float getCompletedProp() {
return completedProp;
}
/**
* 设置完成比(%)
*
* @param completedProp 完成比(%)
*/
public void setCompletedProp(Float completedProp) {
this.completedProp = completedProp;
}
/**
* 获取完成时间
*
* @return completed_time - 完成时间
*/
public Date getCompletedTime() {
return completedTime;
}
/**
* 设置完成时间
*
* @param completedTime 完成时间
*/
public void setCompletedTime(Date completedTime) {
this.completedTime = completedTime;
}
/**
* 获取备注
*
* @return note - 备注
*/
public String getNote() {
return note;
}
/**
* 设置备注
*
* @param note 备注
*/
public void setNote(String note) {
this.note = note;
}
}

View File

@@ -0,0 +1,9 @@
package com.deer.wms.produce.clothflow.model;
import com.deer.wms.project.seed.core.service.QueryParams;
/**
* Created by on 2020/08/18.
*/
public class MtAloneByCoatingProgressParams extends QueryParams {
}

View File

@@ -0,0 +1,452 @@
package com.deer.wms.produce.clothflow.model;
import java.util.Date;
import javax.persistence.*;
@Table(name = "mt_alone_by_go_dye_factory")
public class MtAloneByGoDyeFactory {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* 操作员id
*/
@Column(name = "operator_id")
private Integer operatorId;
/**
* 添加时间
*/
@Column(name = "create_time")
private Date createTime;
/**
* 修改时间
*/
@Column(name = "update_time")
private Date updateTime;
/**
* 创建人id
*/
@Column(name = "creator_id")
private Integer creatorId;
/**
* 更新人id
*/
@Column(name = "updater_id")
private Integer updaterId;
/**
* 版本号 默认为 1
*/
private String version;
/**
* 状态 0处理中1处理完成2逻辑删除
*/
@Column(name = "go_dye_factory_status")
private Integer goDyeFactoryStatus;
/**
* 绑定公司id
*/
@Column(name = "company_id")
private Integer companyId;
/**
* 产品id关联产品表mt_alone_by_product_info
*/
@Column(name = "product_id")
private Integer productId;
/**
* 加工商id ,管理供应商表mt_alone_processor
*/
@Column(name = "supplier_id")
private Integer supplierId;
/**
* 加工商编号,选择获取
*/
@Column(name = "supplier_code")
private String supplierCode;
/**
* 去染厂时间
*/
@Column(name = "go_time")
private Date goTime;
/**
* 染厂结束时间
*/
@Column(name = "end_time")
private Date endTime;
/**
* 计划长度(M)
*/
@Column(name = "plan_length")
private Float planLength;
/**
* 实际长度(M)
*/
@Column(name = "actual_length")
private Float actualLength;
/**
* 缩率%=实际长度/计划长度 *100%
*/
private String shrinkage;
/**
* 费用(元)
*/
private Float cost;
/**
* 备注
*/
private String note;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* 获取操作员id
*
* @return operator_id - 操作员id
*/
public Integer getOperatorId() {
return operatorId;
}
/**
* 设置操作员id
*
* @param operatorId 操作员id
*/
public void setOperatorId(Integer operatorId) {
this.operatorId = operatorId;
}
/**
* 获取添加时间
*
* @return create_time - 添加时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 设置添加时间
*
* @param createTime 添加时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* 获取修改时间
*
* @return update_time - 修改时间
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* 设置修改时间
*
* @param updateTime 修改时间
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* 获取创建人id
*
* @return creator_id - 创建人id
*/
public Integer getCreatorId() {
return creatorId;
}
/**
* 设置创建人id
*
* @param creatorId 创建人id
*/
public void setCreatorId(Integer creatorId) {
this.creatorId = creatorId;
}
/**
* 获取更新人id
*
* @return updater_id - 更新人id
*/
public Integer getUpdaterId() {
return updaterId;
}
/**
* 设置更新人id
*
* @param updaterId 更新人id
*/
public void setUpdaterId(Integer updaterId) {
this.updaterId = updaterId;
}
/**
* 获取版本号 默认为 1
*
* @return version - 版本号 默认为 1
*/
public String getVersion() {
return version;
}
/**
* 设置版本号 默认为 1
*
* @param version 版本号 默认为 1
*/
public void setVersion(String version) {
this.version = version;
}
/**
* 获取状态 0处理中1处理完成2逻辑删除
*
* @return go_dye_factory_status - 状态 0处理中1处理完成2逻辑删除
*/
public Integer getGoDyeFactoryStatus() {
return goDyeFactoryStatus;
}
/**
* 设置状态 0处理中1处理完成2逻辑删除
*
* @param goDyeFactoryStatus 状态 0处理中1处理完成2逻辑删除
*/
public void setGoDyeFactoryStatus(Integer goDyeFactoryStatus) {
this.goDyeFactoryStatus = goDyeFactoryStatus;
}
/**
* 获取绑定公司id
*
* @return company_id - 绑定公司id
*/
public Integer getCompanyId() {
return companyId;
}
/**
* 设置绑定公司id
*
* @param companyId 绑定公司id
*/
public void setCompanyId(Integer companyId) {
this.companyId = companyId;
}
/**
* 获取产品id关联产品表mt_alone_by_product_info
*
* @return product_id - 产品id关联产品表mt_alone_by_product_info
*/
public Integer getProductId() {
return productId;
}
/**
* 设置产品id关联产品表mt_alone_by_product_info
*
* @param productId 产品id关联产品表mt_alone_by_product_info
*/
public void setProductId(Integer productId) {
this.productId = productId;
}
/**
* 获取加工商id ,管理供应商表mt_alone_processor
*
* @return supplier_id - 加工商id ,管理供应商表mt_alone_processor
*/
public Integer getSupplierId() {
return supplierId;
}
/**
* 设置加工商id ,管理供应商表mt_alone_processor
*
* @param supplierId 加工商id ,管理供应商表mt_alone_processor
*/
public void setSupplierId(Integer supplierId) {
this.supplierId = supplierId;
}
/**
* 获取加工商编号,选择获取
*
* @return supplier_code - 加工商编号,选择获取
*/
public String getSupplierCode() {
return supplierCode;
}
/**
* 设置加工商编号,选择获取
*
* @param supplierCode 加工商编号,选择获取
*/
public void setSupplierCode(String supplierCode) {
this.supplierCode = supplierCode;
}
/**
* 获取去染厂时间
*
* @return go_time - 去染厂时间
*/
public Date getGoTime() {
return goTime;
}
/**
* 设置去染厂时间
*
* @param goTime 去染厂时间
*/
public void setGoTime(Date goTime) {
this.goTime = goTime;
}
/**
* 获取染厂结束时间
*
* @return end_time - 染厂结束时间
*/
public Date getEndTime() {
return endTime;
}
/**
* 设置染厂结束时间
*
* @param endTime 染厂结束时间
*/
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
/**
* 获取计划长度(M)
*
* @return plan_length - 计划长度(M)
*/
public Float getPlanLength() {
return planLength;
}
/**
* 设置计划长度(M)
*
* @param planLength 计划长度(M)
*/
public void setPlanLength(Float planLength) {
this.planLength = planLength;
}
/**
* 获取实际长度(M)
*
* @return actual_length - 实际长度(M)
*/
public Float getActualLength() {
return actualLength;
}
/**
* 设置实际长度(M)
*
* @param actualLength 实际长度(M)
*/
public void setActualLength(Float actualLength) {
this.actualLength = actualLength;
}
/**
* 获取缩率%=实际长度/计划长度 *100%
*
* @return shrinkage - 缩率%=实际长度/计划长度 *100%
*/
public String getShrinkage() {
return shrinkage;
}
/**
* 设置缩率%=实际长度/计划长度 *100%
*
* @param shrinkage 缩率%=实际长度/计划长度 *100%
*/
public void setShrinkage(String shrinkage) {
this.shrinkage = shrinkage;
}
/**
* 获取费用(元)
*
* @return cost - 费用(元)
*/
public Float getCost() {
return cost;
}
/**
* 设置费用(元)
*
* @param cost 费用(元)
*/
public void setCost(Float cost) {
this.cost = cost;
}
/**
* 获取备注
*
* @return note - 备注
*/
public String getNote() {
return note;
}
/**
* 设置备注
*
* @param note 备注
*/
public void setNote(String note) {
this.note = note;
}
}

View File

@@ -0,0 +1,9 @@
package com.deer.wms.produce.clothflow.model;
import com.deer.wms.project.seed.core.service.QueryParams;
/**
* Created by on 2020/08/18.
*/
public class MtAloneByGoDyeFactoryParams extends QueryParams {
}

View File

@@ -0,0 +1,429 @@
package com.deer.wms.produce.clothflow.model;
import java.util.Date;
import javax.persistence.*;
@Table(name = "mt_alone_by_logistics")
public class MtAloneByLogistics {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* 操作员id
*/
@Column(name = "operator_id")
private Integer operatorId;
/**
* 添加时间
*/
@Column(name = "create_time")
private Date createTime;
/**
* 创建人id
*/
@Column(name = "creator_id")
private Integer creatorId;
/**
* 版本号 默认为 1
*/
private String version;
/**
* 状态 0处理中1处理完成2逻辑删除
*/
@Column(name = "logistics_det_status")
private Integer logisticsDetStatus;
/**
* 物流id关联产品表mt_alone_by_product_info
*/
@Column(name = "logistics_id")
private Integer logisticsId;
/**
* 装箱时间
*/
@Column(name = "boxing_time")
private Date boxingTime;
/**
* 进仓时间
*/
@Column(name = "in_ware_time")
private Date inWareTime;
/**
* 出仓时间
*/
@Column(name = "out_ware_time")
private Date outWareTime;
/**
* 出仓卷数
*/
@Column(name = "out_ware_rolls")
private Integer outWareRolls;
/**
* 出仓数量(M)
*/
@Column(name = "out_ware_num")
private Float outWareNum;
/**
* 物流公司
*/
@Column(name = "logistics_com")
private String logisticsCom;
/**
* 物流费用(元)
*/
private Float cost;
/**
* 发货时间
*/
@Column(name = "ship_time")
private Date shipTime;
/**
* 收货人
*/
@Column(name = "receipt_peo")
private String receiptPeo;
/**
* 收货时间
*/
@Column(name = "receipt_time")
private Date receiptTime;
/**
* 备注
*/
private String note;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* 获取操作员id
*
* @return operator_id - 操作员id
*/
public Integer getOperatorId() {
return operatorId;
}
/**
* 设置操作员id
*
* @param operatorId 操作员id
*/
public void setOperatorId(Integer operatorId) {
this.operatorId = operatorId;
}
/**
* 获取添加时间
*
* @return create_time - 添加时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 设置添加时间
*
* @param createTime 添加时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* 获取创建人id
*
* @return creator_id - 创建人id
*/
public Integer getCreatorId() {
return creatorId;
}
/**
* 设置创建人id
*
* @param creatorId 创建人id
*/
public void setCreatorId(Integer creatorId) {
this.creatorId = creatorId;
}
/**
* 获取版本号 默认为 1
*
* @return version - 版本号 默认为 1
*/
public String getVersion() {
return version;
}
/**
* 设置版本号 默认为 1
*
* @param version 版本号 默认为 1
*/
public void setVersion(String version) {
this.version = version;
}
/**
* 获取状态 0处理中1处理完成2逻辑删除
*
* @return logistics_det_status - 状态 0处理中1处理完成2逻辑删除
*/
public Integer getLogisticsDetStatus() {
return logisticsDetStatus;
}
/**
* 设置状态 0处理中1处理完成2逻辑删除
*
* @param logisticsDetStatus 状态 0处理中1处理完成2逻辑删除
*/
public void setLogisticsDetStatus(Integer logisticsDetStatus) {
this.logisticsDetStatus = logisticsDetStatus;
}
/**
* 获取物流id关联产品表mt_alone_by_product_info
*
* @return logistics_id - 物流id关联产品表mt_alone_by_product_info
*/
public Integer getLogisticsId() {
return logisticsId;
}
/**
* 设置物流id关联产品表mt_alone_by_product_info
*
* @param logisticsId 物流id关联产品表mt_alone_by_product_info
*/
public void setLogisticsId(Integer logisticsId) {
this.logisticsId = logisticsId;
}
/**
* 获取装箱时间
*
* @return boxing_time - 装箱时间
*/
public Date getBoxingTime() {
return boxingTime;
}
/**
* 设置装箱时间
*
* @param boxingTime 装箱时间
*/
public void setBoxingTime(Date boxingTime) {
this.boxingTime = boxingTime;
}
/**
* 获取进仓时间
*
* @return in_ware_time - 进仓时间
*/
public Date getInWareTime() {
return inWareTime;
}
/**
* 设置进仓时间
*
* @param inWareTime 进仓时间
*/
public void setInWareTime(Date inWareTime) {
this.inWareTime = inWareTime;
}
/**
* 获取出仓时间
*
* @return out_ware_time - 出仓时间
*/
public Date getOutWareTime() {
return outWareTime;
}
/**
* 设置出仓时间
*
* @param outWareTime 出仓时间
*/
public void setOutWareTime(Date outWareTime) {
this.outWareTime = outWareTime;
}
/**
* 获取出仓卷数
*
* @return out_ware_rolls - 出仓卷数
*/
public Integer getOutWareRolls() {
return outWareRolls;
}
/**
* 设置出仓卷数
*
* @param outWareRolls 出仓卷数
*/
public void setOutWareRolls(Integer outWareRolls) {
this.outWareRolls = outWareRolls;
}
/**
* 获取出仓数量(M)
*
* @return out_ware_num - 出仓数量(M)
*/
public Float getOutWareNum() {
return outWareNum;
}
/**
* 设置出仓数量(M)
*
* @param outWareNum 出仓数量(M)
*/
public void setOutWareNum(Float outWareNum) {
this.outWareNum = outWareNum;
}
/**
* 获取物流公司
*
* @return logistics_com - 物流公司
*/
public String getLogisticsCom() {
return logisticsCom;
}
/**
* 设置物流公司
*
* @param logisticsCom 物流公司
*/
public void setLogisticsCom(String logisticsCom) {
this.logisticsCom = logisticsCom;
}
/**
* 获取物流费用(元)
*
* @return cost - 物流费用(元)
*/
public Float getCost() {
return cost;
}
/**
* 设置物流费用(元)
*
* @param cost 物流费用(元)
*/
public void setCost(Float cost) {
this.cost = cost;
}
/**
* 获取发货时间
*
* @return ship_time - 发货时间
*/
public Date getShipTime() {
return shipTime;
}
/**
* 设置发货时间
*
* @param shipTime 发货时间
*/
public void setShipTime(Date shipTime) {
this.shipTime = shipTime;
}
/**
* 获取收货人
*
* @return receipt_peo - 收货人
*/
public String getReceiptPeo() {
return receiptPeo;
}
/**
* 设置收货人
*
* @param receiptPeo 收货人
*/
public void setReceiptPeo(String receiptPeo) {
this.receiptPeo = receiptPeo;
}
/**
* 获取收货时间
*
* @return receipt_time - 收货时间
*/
public Date getReceiptTime() {
return receiptTime;
}
/**
* 设置收货时间
*
* @param receiptTime 收货时间
*/
public void setReceiptTime(Date receiptTime) {
this.receiptTime = receiptTime;
}
/**
* 获取备注
*
* @return note - 备注
*/
public String getNote() {
return note;
}
/**
* 设置备注
*
* @param note 备注
*/
public void setNote(String note) {
this.note = note;
}
}

View File

@@ -0,0 +1,9 @@
package com.deer.wms.produce.clothflow.model;
import com.deer.wms.project.seed.core.service.QueryParams;
/**
* Created by on 2020/08/18.
*/
public class MtAloneByLogisticsParams extends QueryParams {
}

View File

@@ -0,0 +1,452 @@
package com.deer.wms.produce.clothflow.model;
import java.util.Date;
import javax.persistence.*;
@Table(name = "mt_alone_by_run_cloth")
public class MtAloneByRunCloth {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* 操作员id
*/
@Column(name = "operator_id")
private Integer operatorId;
/**
* 添加时间
*/
@Column(name = "create_time")
private Date createTime;
/**
* 修改时间
*/
@Column(name = "update_time")
private Date updateTime;
/**
* 创建人id
*/
@Column(name = "creator_id")
private Integer creatorId;
/**
* 更新人id
*/
@Column(name = "updater_id")
private Integer updaterId;
/**
* 版本号 默认为 1
*/
private String version;
/**
* 状态 0处理中1处理完成2逻辑删除
*/
@Column(name = "run_cloth_status")
private Integer runClothStatus;
/**
* 跑布id关联产品表mt_alone_by_product_info
*/
@Column(name = "run_cloth_id")
private Integer runClothId;
/**
* 当前进度,匹配字典表编码,内容:重新织,在染厂
*/
@Column(name = "curr_progress")
private String currProgress;
/**
* 加工商id ,管理供应商表mt_alone_processor
*/
@Column(name = "supplier_id")
private Integer supplierId;
/**
* 加工商编号,选择获取
*/
@Column(name = "supplier_code")
private String supplierCode;
/**
* 计划长度(M)
*/
@Column(name = "plan_length")
private Float planLength;
/**
* 实际长度(M)
*/
@Column(name = "actual_length")
private Float actualLength;
/**
* 缩率%=实际长度/计划长度 *100%
*/
private String shrinkage;
/**
* 费用(元)
*/
private Float cost;
/**
* 开始时间
*/
@Column(name = "begin_time")
private Date beginTime;
/**
* 结束时间
*/
@Column(name = "end_time")
private Date endTime;
/**
* 备注
*/
private String note;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* 获取操作员id
*
* @return operator_id - 操作员id
*/
public Integer getOperatorId() {
return operatorId;
}
/**
* 设置操作员id
*
* @param operatorId 操作员id
*/
public void setOperatorId(Integer operatorId) {
this.operatorId = operatorId;
}
/**
* 获取添加时间
*
* @return create_time - 添加时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 设置添加时间
*
* @param createTime 添加时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* 获取修改时间
*
* @return update_time - 修改时间
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* 设置修改时间
*
* @param updateTime 修改时间
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* 获取创建人id
*
* @return creator_id - 创建人id
*/
public Integer getCreatorId() {
return creatorId;
}
/**
* 设置创建人id
*
* @param creatorId 创建人id
*/
public void setCreatorId(Integer creatorId) {
this.creatorId = creatorId;
}
/**
* 获取更新人id
*
* @return updater_id - 更新人id
*/
public Integer getUpdaterId() {
return updaterId;
}
/**
* 设置更新人id
*
* @param updaterId 更新人id
*/
public void setUpdaterId(Integer updaterId) {
this.updaterId = updaterId;
}
/**
* 获取版本号 默认为 1
*
* @return version - 版本号 默认为 1
*/
public String getVersion() {
return version;
}
/**
* 设置版本号 默认为 1
*
* @param version 版本号 默认为 1
*/
public void setVersion(String version) {
this.version = version;
}
/**
* 获取状态 0处理中1处理完成2逻辑删除
*
* @return run_cloth_status - 状态 0处理中1处理完成2逻辑删除
*/
public Integer getRunClothStatus() {
return runClothStatus;
}
/**
* 设置状态 0处理中1处理完成2逻辑删除
*
* @param runClothStatus 状态 0处理中1处理完成2逻辑删除
*/
public void setRunClothStatus(Integer runClothStatus) {
this.runClothStatus = runClothStatus;
}
/**
* 获取跑布id关联产品表mt_alone_by_product_info
*
* @return run_cloth_id - 跑布id关联产品表mt_alone_by_product_info
*/
public Integer getRunClothId() {
return runClothId;
}
/**
* 设置跑布id关联产品表mt_alone_by_product_info
*
* @param runClothId 跑布id关联产品表mt_alone_by_product_info
*/
public void setRunClothId(Integer runClothId) {
this.runClothId = runClothId;
}
/**
* 获取当前进度,匹配字典表编码,内容:重新织,在染厂
*
* @return curr_progress - 当前进度,匹配字典表编码,内容:重新织,在染厂
*/
public String getCurrProgress() {
return currProgress;
}
/**
* 设置当前进度,匹配字典表编码,内容:重新织,在染厂
*
* @param currProgress 当前进度,匹配字典表编码,内容:重新织,在染厂
*/
public void setCurrProgress(String currProgress) {
this.currProgress = currProgress;
}
/**
* 获取加工商id ,管理供应商表mt_alone_processor
*
* @return supplier_id - 加工商id ,管理供应商表mt_alone_processor
*/
public Integer getSupplierId() {
return supplierId;
}
/**
* 设置加工商id ,管理供应商表mt_alone_processor
*
* @param supplierId 加工商id ,管理供应商表mt_alone_processor
*/
public void setSupplierId(Integer supplierId) {
this.supplierId = supplierId;
}
/**
* 获取加工商编号,选择获取
*
* @return supplier_code - 加工商编号,选择获取
*/
public String getSupplierCode() {
return supplierCode;
}
/**
* 设置加工商编号,选择获取
*
* @param supplierCode 加工商编号,选择获取
*/
public void setSupplierCode(String supplierCode) {
this.supplierCode = supplierCode;
}
/**
* 获取计划长度(M)
*
* @return plan_length - 计划长度(M)
*/
public Float getPlanLength() {
return planLength;
}
/**
* 设置计划长度(M)
*
* @param planLength 计划长度(M)
*/
public void setPlanLength(Float planLength) {
this.planLength = planLength;
}
/**
* 获取实际长度(M)
*
* @return actual_length - 实际长度(M)
*/
public Float getActualLength() {
return actualLength;
}
/**
* 设置实际长度(M)
*
* @param actualLength 实际长度(M)
*/
public void setActualLength(Float actualLength) {
this.actualLength = actualLength;
}
/**
* 获取缩率%=实际长度/计划长度 *100%
*
* @return shrinkage - 缩率%=实际长度/计划长度 *100%
*/
public String getShrinkage() {
return shrinkage;
}
/**
* 设置缩率%=实际长度/计划长度 *100%
*
* @param shrinkage 缩率%=实际长度/计划长度 *100%
*/
public void setShrinkage(String shrinkage) {
this.shrinkage = shrinkage;
}
/**
* 获取费用(元)
*
* @return cost - 费用(元)
*/
public Float getCost() {
return cost;
}
/**
* 设置费用(元)
*
* @param cost 费用(元)
*/
public void setCost(Float cost) {
this.cost = cost;
}
/**
* 获取开始时间
*
* @return begin_time - 开始时间
*/
public Date getBeginTime() {
return beginTime;
}
/**
* 设置开始时间
*
* @param beginTime 开始时间
*/
public void setBeginTime(Date beginTime) {
this.beginTime = beginTime;
}
/**
* 获取结束时间
*
* @return end_time - 结束时间
*/
public Date getEndTime() {
return endTime;
}
/**
* 设置结束时间
*
* @param endTime 结束时间
*/
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
/**
* 获取备注
*
* @return note - 备注
*/
public String getNote() {
return note;
}
/**
* 设置备注
*
* @param note 备注
*/
public void setNote(String note) {
this.note = note;
}
}

View File

@@ -0,0 +1,9 @@
package com.deer.wms.produce.clothflow.model;
import com.deer.wms.project.seed.core.service.QueryParams;
/**
* Created by on 2020/08/18.
*/
public class MtAloneByRunClothParams extends QueryParams {
}

View File

@@ -0,0 +1,549 @@
package com.deer.wms.produce.clothflow.model;
import java.util.Date;
import javax.persistence.*;
@Table(name = "mt_alone_by_trimming")
public class MtAloneByTrimming {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* 操作员id
*/
@Column(name = "operator_id")
private Integer operatorId;
/**
* 添加时间
*/
@Column(name = "create_time")
private Date createTime;
/**
* 修改时间
*/
@Column(name = "update_time")
private Date updateTime;
/**
* 创建人id
*/
@Column(name = "creator_id")
private Integer creatorId;
/**
* 更新人id
*/
@Column(name = "updater_id")
private Integer updaterId;
/**
* 版本号 默认为 1
*/
private String version;
/**
* 状态 0处理中1处理完成2逻辑删除
*/
@Column(name = "trimming_status")
private Integer trimmingStatus;
/**
* 产品id关联产品表mt_alone_by_product_info
*/
@Column(name = "product_id")
private Integer productId;
/**
* A字架id关联基础A字架表mt_alone_by_a_shelf
*/
@Column(name = "a_shelf_id")
private Integer aShelfId;
/**
* A字架名称
*/
@Column(name = "a_shelf_name")
private String aShelfName;
/**
* 型号
*/
private String model;
/**
* 切边规格 0可接受零卷1定长
*/
@Column(name = "trim_spec")
private Integer trimSpec;
/**
* 卷长范围
*/
@Column(name = "trimming_range")
private String trimmingRange;
/**
* 包装方式 ,可多选中间用逗号分隔 0蛇皮袋|1纸筒,2纸盒,3托盘,4大纸箱,5珍珠棉,6干燥剂,7其他
*/
@Column(name = "packing_method")
private String packingMethod;
/**
* 纸管类型可以多选中间用逗号分隔02英寸13英寸26英寸
*/
@Column(name = "paper_tube_type")
private String paperTubeType;
/**
* 单卷米数
*/
@Column(name = "rice_per_roll")
private Float ricePerRoll;
/**
* 卷数
*/
@Column(name = "num_rolls")
private Integer numRolls;
/**
* 总米数
*/
@Column(name = "total_meters")
private Float totalMeters;
/**
* 已切米数
*/
@Column(name = "cut_meters")
private Float cutMeters;
/**
* 已切比(%)
*/
@Column(name = "cut_prop")
private Float cutProp;
/**
* 完成时间
*/
@Column(name = "completed_time")
private Date completedTime;
/**
* 备注
*/
private String note;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* 获取操作员id
*
* @return operator_id - 操作员id
*/
public Integer getOperatorId() {
return operatorId;
}
/**
* 设置操作员id
*
* @param operatorId 操作员id
*/
public void setOperatorId(Integer operatorId) {
this.operatorId = operatorId;
}
/**
* 获取添加时间
*
* @return create_time - 添加时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 设置添加时间
*
* @param createTime 添加时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* 获取修改时间
*
* @return update_time - 修改时间
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* 设置修改时间
*
* @param updateTime 修改时间
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* 获取创建人id
*
* @return creator_id - 创建人id
*/
public Integer getCreatorId() {
return creatorId;
}
/**
* 设置创建人id
*
* @param creatorId 创建人id
*/
public void setCreatorId(Integer creatorId) {
this.creatorId = creatorId;
}
/**
* 获取更新人id
*
* @return updater_id - 更新人id
*/
public Integer getUpdaterId() {
return updaterId;
}
/**
* 设置更新人id
*
* @param updaterId 更新人id
*/
public void setUpdaterId(Integer updaterId) {
this.updaterId = updaterId;
}
/**
* 获取版本号 默认为 1
*
* @return version - 版本号 默认为 1
*/
public String getVersion() {
return version;
}
/**
* 设置版本号 默认为 1
*
* @param version 版本号 默认为 1
*/
public void setVersion(String version) {
this.version = version;
}
/**
* 获取状态 0处理中1处理完成2逻辑删除
*
* @return trimming_status - 状态 0处理中1处理完成2逻辑删除
*/
public Integer getTrimmingStatus() {
return trimmingStatus;
}
/**
* 设置状态 0处理中1处理完成2逻辑删除
*
* @param trimmingStatus 状态 0处理中1处理完成2逻辑删除
*/
public void setTrimmingStatus(Integer trimmingStatus) {
this.trimmingStatus = trimmingStatus;
}
/**
* 获取产品id关联产品表mt_alone_by_product_info
*
* @return product_id - 产品id关联产品表mt_alone_by_product_info
*/
public Integer getProductId() {
return productId;
}
/**
* 设置产品id关联产品表mt_alone_by_product_info
*
* @param productId 产品id关联产品表mt_alone_by_product_info
*/
public void setProductId(Integer productId) {
this.productId = productId;
}
/**
* 获取A字架id关联基础A字架表mt_alone_by_a_shelf
*
* @return a_shelf_id - A字架id关联基础A字架表mt_alone_by_a_shelf
*/
public Integer getaShelfId() {
return aShelfId;
}
/**
* 设置A字架id关联基础A字架表mt_alone_by_a_shelf
*
* @param aShelfId A字架id关联基础A字架表mt_alone_by_a_shelf
*/
public void setaShelfId(Integer aShelfId) {
this.aShelfId = aShelfId;
}
/**
* 获取A字架名称
*
* @return a_shelf_name - A字架名称
*/
public String getaShelfName() {
return aShelfName;
}
/**
* 设置A字架名称
*
* @param aShelfName A字架名称
*/
public void setaShelfName(String aShelfName) {
this.aShelfName = aShelfName;
}
/**
* 获取型号
*
* @return model - 型号
*/
public String getModel() {
return model;
}
/**
* 设置型号
*
* @param model 型号
*/
public void setModel(String model) {
this.model = model;
}
/**
* 获取切边规格 0可接受零卷1定长
*
* @return trim_spec - 切边规格 0可接受零卷1定长
*/
public Integer getTrimSpec() {
return trimSpec;
}
/**
* 设置切边规格 0可接受零卷1定长
*
* @param trimSpec 切边规格 0可接受零卷1定长
*/
public void setTrimSpec(Integer trimSpec) {
this.trimSpec = trimSpec;
}
/**
* 获取卷长范围
*
* @return trimming_range - 卷长范围
*/
public String getTrimmingRange() {
return trimmingRange;
}
/**
* 设置卷长范围
*
* @param trimmingRange 卷长范围
*/
public void setTrimmingRange(String trimmingRange) {
this.trimmingRange = trimmingRange;
}
/**
* 获取包装方式 ,可多选中间用逗号分隔 0蛇皮袋|1纸筒,2纸盒,3托盘,4大纸箱,5珍珠棉,6干燥剂,7其他
*
* @return packing_method - 包装方式 ,可多选中间用逗号分隔 0蛇皮袋|1纸筒,2纸盒,3托盘,4大纸箱,5珍珠棉,6干燥剂,7其他
*/
public String getPackingMethod() {
return packingMethod;
}
/**
* 设置包装方式 ,可多选中间用逗号分隔 0蛇皮袋|1纸筒,2纸盒,3托盘,4大纸箱,5珍珠棉,6干燥剂,7其他
*
* @param packingMethod 包装方式 ,可多选中间用逗号分隔 0蛇皮袋|1纸筒,2纸盒,3托盘,4大纸箱,5珍珠棉,6干燥剂,7其他
*/
public void setPackingMethod(String packingMethod) {
this.packingMethod = packingMethod;
}
/**
* 获取纸管类型可以多选中间用逗号分隔02英寸13英寸26英寸
*
* @return paper_tube_type - 纸管类型可以多选中间用逗号分隔02英寸13英寸26英寸
*/
public String getPaperTubeType() {
return paperTubeType;
}
/**
* 设置纸管类型可以多选中间用逗号分隔02英寸13英寸26英寸
*
* @param paperTubeType 纸管类型可以多选中间用逗号分隔02英寸13英寸26英寸
*/
public void setPaperTubeType(String paperTubeType) {
this.paperTubeType = paperTubeType;
}
/**
* 获取单卷米数
*
* @return rice_per_roll - 单卷米数
*/
public Float getRicePerRoll() {
return ricePerRoll;
}
/**
* 设置单卷米数
*
* @param ricePerRoll 单卷米数
*/
public void setRicePerRoll(Float ricePerRoll) {
this.ricePerRoll = ricePerRoll;
}
/**
* 获取卷数
*
* @return num_rolls - 卷数
*/
public Integer getNumRolls() {
return numRolls;
}
/**
* 设置卷数
*
* @param numRolls 卷数
*/
public void setNumRolls(Integer numRolls) {
this.numRolls = numRolls;
}
/**
* 获取总米数
*
* @return total_meters - 总米数
*/
public Float getTotalMeters() {
return totalMeters;
}
/**
* 设置总米数
*
* @param totalMeters 总米数
*/
public void setTotalMeters(Float totalMeters) {
this.totalMeters = totalMeters;
}
/**
* 获取已切米数
*
* @return cut_meters - 已切米数
*/
public Float getCutMeters() {
return cutMeters;
}
/**
* 设置已切米数
*
* @param cutMeters 已切米数
*/
public void setCutMeters(Float cutMeters) {
this.cutMeters = cutMeters;
}
/**
* 获取已切比(%)
*
* @return cut_prop - 已切比(%)
*/
public Float getCutProp() {
return cutProp;
}
/**
* 设置已切比(%)
*
* @param cutProp 已切比(%)
*/
public void setCutProp(Float cutProp) {
this.cutProp = cutProp;
}
/**
* 获取完成时间
*
* @return completed_time - 完成时间
*/
public Date getCompletedTime() {
return completedTime;
}
/**
* 设置完成时间
*
* @param completedTime 完成时间
*/
public void setCompletedTime(Date completedTime) {
this.completedTime = completedTime;
}
/**
* 获取备注
*
* @return note - 备注
*/
public String getNote() {
return note;
}
/**
* 设置备注
*
* @param note 备注
*/
public void setNote(String note) {
this.note = note;
}
}

View File

@@ -0,0 +1,9 @@
package com.deer.wms.produce.clothflow.model;
import com.deer.wms.project.seed.core.service.QueryParams;
/**
* Created by on 2020/08/18.
*/
public class MtAloneByTrimmingParams extends QueryParams {
}

View File

@@ -0,0 +1,16 @@
package com.deer.wms.produce.clothflow.service;
import com.deer.wms.produce.clothflow.model.MtAloneByAShelf;
import com.deer.wms.produce.clothflow.model.MtAloneByAShelfParams;
import com.deer.wms.project.seed.core.service.Service;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
public interface MtAloneByAShelfService extends Service<MtAloneByAShelf, Integer> {
}

View File

@@ -0,0 +1,16 @@
package com.deer.wms.produce.clothflow.service;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeCloth;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeClothParams;
import com.deer.wms.project.seed.core.service.Service;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
public interface MtAloneByBakeClothService extends Service<MtAloneByBakeCloth, Integer> {
}

View File

@@ -0,0 +1,16 @@
package com.deer.wms.produce.clothflow.service;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingGlue;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingGlueParams;
import com.deer.wms.project.seed.core.service.Service;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
public interface MtAloneByCoatingGlueService extends Service<MtAloneByCoatingGlue, Integer> {
}

View File

@@ -0,0 +1,16 @@
package com.deer.wms.produce.clothflow.service;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingProgress;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingProgressParams;
import com.deer.wms.project.seed.core.service.Service;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
public interface MtAloneByCoatingProgressService extends Service<MtAloneByCoatingProgress, Integer> {
}

View File

@@ -0,0 +1,16 @@
package com.deer.wms.produce.clothflow.service;
import com.deer.wms.produce.clothflow.model.MtAloneByCoating;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingParams;
import com.deer.wms.project.seed.core.service.Service;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
public interface MtAloneByCoatingService extends Service<MtAloneByCoating, Integer> {
}

View File

@@ -0,0 +1,16 @@
package com.deer.wms.produce.clothflow.service;
import com.deer.wms.produce.clothflow.model.MtAloneByGoDyeFactory;
import com.deer.wms.produce.clothflow.model.MtAloneByGoDyeFactoryParams;
import com.deer.wms.project.seed.core.service.Service;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
public interface MtAloneByGoDyeFactoryService extends Service<MtAloneByGoDyeFactory, Integer> {
}

View File

@@ -0,0 +1,16 @@
package com.deer.wms.produce.clothflow.service;
import com.deer.wms.produce.clothflow.model.MtAloneByLogistics;
import com.deer.wms.produce.clothflow.model.MtAloneByLogisticsParams;
import com.deer.wms.project.seed.core.service.Service;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
public interface MtAloneByLogisticsService extends Service<MtAloneByLogistics, Integer> {
}

View File

@@ -0,0 +1,16 @@
package com.deer.wms.produce.clothflow.service;
import com.deer.wms.produce.clothflow.model.MtAloneByRunCloth;
import com.deer.wms.produce.clothflow.model.MtAloneByRunClothParams;
import com.deer.wms.project.seed.core.service.Service;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
public interface MtAloneByRunClothService extends Service<MtAloneByRunCloth, Integer> {
}

View File

@@ -0,0 +1,16 @@
package com.deer.wms.produce.clothflow.service;
import com.deer.wms.produce.clothflow.model.MtAloneByTrimming;
import com.deer.wms.produce.clothflow.model.MtAloneByTrimmingParams;
import com.deer.wms.project.seed.core.service.Service;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
public interface MtAloneByTrimmingService extends Service<MtAloneByTrimming, Integer> {
}

View File

@@ -0,0 +1,24 @@
package com.deer.wms.produce.clothflow.service.impl;
import com.deer.wms.produce.clothflow.dao.MtAloneByAShelfMapper;
import com.deer.wms.produce.clothflow.model.MtAloneByAShelf;
import com.deer.wms.produce.clothflow.model.MtAloneByAShelfParams;
import com.deer.wms.produce.clothflow.service.MtAloneByAShelfService;
import com.deer.wms.project.seed.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Service
@Transactional
public class MtAloneByAShelfServiceImpl extends AbstractService<MtAloneByAShelf, Integer> implements MtAloneByAShelfService {
@Autowired
private MtAloneByAShelfMapper mtAloneByAShelfMapper;
}

View File

@@ -0,0 +1,26 @@
package com.deer.wms.produce.clothflow.service.impl;
import com.deer.wms.produce.clothflow.dao.MtAloneByBakeClothMapper;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeCloth;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeClothParams;
import com.deer.wms.produce.clothflow.service.MtAloneByBakeClothService;
import com.deer.wms.project.seed.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Service
@Transactional
public class MtAloneByBakeClothServiceImpl extends AbstractService<MtAloneByBakeCloth, Integer> implements MtAloneByBakeClothService {
@Autowired
private MtAloneByBakeClothMapper mtAloneByBakeClothMapper;
}

View File

@@ -0,0 +1,26 @@
package com.deer.wms.produce.clothflow.service.impl;
import com.deer.wms.produce.clothflow.dao.MtAloneByCoatingGlueMapper;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingGlue;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingGlueParams;
import com.deer.wms.produce.clothflow.service.MtAloneByCoatingGlueService;
import com.deer.wms.project.seed.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Service
@Transactional
public class MtAloneByCoatingGlueServiceImpl extends AbstractService<MtAloneByCoatingGlue, Integer> implements MtAloneByCoatingGlueService {
@Autowired
private MtAloneByCoatingGlueMapper mtAloneByCoatingGlueMapper;
}

View File

@@ -0,0 +1,26 @@
package com.deer.wms.produce.clothflow.service.impl;
import com.deer.wms.produce.clothflow.dao.MtAloneByCoatingProgressMapper;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingProgress;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingProgressParams;
import com.deer.wms.produce.clothflow.service.MtAloneByCoatingProgressService;
import com.deer.wms.project.seed.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Service
@Transactional
public class MtAloneByCoatingProgressServiceImpl extends AbstractService<MtAloneByCoatingProgress, Integer> implements MtAloneByCoatingProgressService {
@Autowired
private MtAloneByCoatingProgressMapper mtAloneByCoatingProgressMapper;
}

View File

@@ -0,0 +1,26 @@
package com.deer.wms.produce.clothflow.service.impl;
import com.deer.wms.produce.clothflow.dao.MtAloneByCoatingMapper;
import com.deer.wms.produce.clothflow.model.MtAloneByCoating;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingParams;
import com.deer.wms.produce.clothflow.service.MtAloneByCoatingService;
import com.deer.wms.project.seed.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Service
@Transactional
public class MtAloneByCoatingServiceImpl extends AbstractService<MtAloneByCoating, Integer> implements MtAloneByCoatingService {
@Autowired
private MtAloneByCoatingMapper mtAloneByCoatingMapper;
}

View File

@@ -0,0 +1,25 @@
package com.deer.wms.produce.clothflow.service.impl;
import com.deer.wms.produce.clothflow.dao.MtAloneByGoDyeFactoryMapper;
import com.deer.wms.produce.clothflow.model.MtAloneByGoDyeFactory;
import com.deer.wms.produce.clothflow.model.MtAloneByGoDyeFactoryParams;
import com.deer.wms.produce.clothflow.service.MtAloneByGoDyeFactoryService;
import com.deer.wms.project.seed.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Service
@Transactional
public class MtAloneByGoDyeFactoryServiceImpl extends AbstractService<MtAloneByGoDyeFactory, Integer> implements MtAloneByGoDyeFactoryService {
@Autowired
private MtAloneByGoDyeFactoryMapper mtAloneByGoDyeFactoryMapper;
}

View File

@@ -0,0 +1,26 @@
package com.deer.wms.produce.clothflow.service.impl;
import com.deer.wms.produce.clothflow.dao.MtAloneByLogisticsMapper;
import com.deer.wms.produce.clothflow.model.MtAloneByLogistics;
import com.deer.wms.produce.clothflow.model.MtAloneByLogisticsParams;
import com.deer.wms.produce.clothflow.service.MtAloneByLogisticsService;
import com.deer.wms.project.seed.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Service
@Transactional
public class MtAloneByLogisticsServiceImpl extends AbstractService<MtAloneByLogistics, Integer> implements MtAloneByLogisticsService {
@Autowired
private MtAloneByLogisticsMapper mtAloneByLogisticsMapper;
}

View File

@@ -0,0 +1,26 @@
package com.deer.wms.produce.clothflow.service.impl;
import com.deer.wms.produce.clothflow.dao.MtAloneByRunClothMapper;
import com.deer.wms.produce.clothflow.model.MtAloneByRunCloth;
import com.deer.wms.produce.clothflow.model.MtAloneByRunClothParams;
import com.deer.wms.produce.clothflow.service.MtAloneByRunClothService;
import com.deer.wms.project.seed.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Service
@Transactional
public class MtAloneByRunClothServiceImpl extends AbstractService<MtAloneByRunCloth, Integer> implements MtAloneByRunClothService {
@Autowired
private MtAloneByRunClothMapper mtAloneByRunClothMapper;
}

View File

@@ -0,0 +1,26 @@
package com.deer.wms.produce.clothflow.service.impl;
import com.deer.wms.produce.clothflow.dao.MtAloneByTrimmingMapper;
import com.deer.wms.produce.clothflow.model.MtAloneByTrimming;
import com.deer.wms.produce.clothflow.model.MtAloneByTrimmingParams;
import com.deer.wms.produce.clothflow.service.MtAloneByTrimmingService;
import com.deer.wms.project.seed.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Service
@Transactional
public class MtAloneByTrimmingServiceImpl extends AbstractService<MtAloneByTrimming, Integer> implements MtAloneByTrimmingService {
@Autowired
private MtAloneByTrimmingMapper mtAloneByTrimmingMapper;
}

View File

@@ -0,0 +1,94 @@
package com.deer.wms.produce.clothflow.web;
import com.deer.wms.project.seed.annotation.OperateLog;
import com.deer.wms.project.seed.constant.SystemManageConstant;
import com.deer.wms.project.seed.core.result.CommonCode;
import com.deer.wms.project.seed.core.result.Result;
import com.deer.wms.project.seed.core.result.ResultGenerator;
import com.deer.wms.produce.clothflow.model.MtAloneByAShelf;
import com.deer.wms.produce.clothflow.model.MtAloneByAShelfParams;
import com.deer.wms.produce.clothflow.service.MtAloneByAShelfService;
import com.deer.wms.intercept.annotation.User;
import com.deer.wms.intercept.common.data.CurrentUser;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import springfox.documentation.annotations.ApiIgnore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import tk.mybatis.mapper.entity.Condition;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Api(description = "xxx接口")
@RestController
@RequestMapping("/mt/alone/by/a/shelfs")
public class MtAloneByAShelfController {
@Autowired
private MtAloneByAShelfService mtAloneByAShelfService;
@OperateLog(description = "添加xxx", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx")
@PostMapping("/add")
public Result add(@RequestBody MtAloneByAShelf mtAloneByAShelf, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null );
}
mtAloneByAShelf.setCreateTime(new Date());
mtAloneByAShelf.setCompanyId(currentUser.getCompanyId());
mtAloneByAShelfService.save(mtAloneByAShelf);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "删除xxx", type = "删除")
@ApiOperation(value = "删除xxx", notes = "删除xxx")
@DeleteMapping("/delete/{id}")
public Result delete(@PathVariable Integer Id) {
mtAloneByAShelfService.deleteById(Id);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "修改xxx", type = "更新")
@ApiOperation(value = "修改xxx", notes = "修改xxx")
@PostMapping("/update")
public Result update(@RequestBody MtAloneByAShelf mtAloneByAShelf) {
mtAloneByAShelfService.update(mtAloneByAShelf);
return ResultGenerator.genSuccessResult();
}
@GetMapping("/detail/{id}")
public Result detail(@PathVariable Integer id) {
MtAloneByAShelf mtAloneByAShelf = mtAloneByAShelfService.findById(id);
return ResultGenerator.genSuccessResult(mtAloneByAShelf);
}
@GetMapping("/list")
public Result list(MtAloneByAShelfParams params, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
if (currentUser.getCompanyType() != SystemManageConstant.COMPANY_TYPE_MT){
params.setCompanyId(currentUser.getCompanyId());
}else{
params.setCompanyId(null);
}
PageHelper.startPage(params.getPageNum(), params.getPageSize());
//List<MtAloneByAShelf> list = mtAloneByAShelfService.findList(params);
List<MtAloneByAShelf> list = new ArrayList<>();
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
}

View File

@@ -0,0 +1,93 @@
package com.deer.wms.produce.clothflow.web;
import com.deer.wms.project.seed.annotation.OperateLog;
import com.deer.wms.project.seed.constant.SystemManageConstant;
import com.deer.wms.project.seed.core.result.CommonCode;
import com.deer.wms.project.seed.core.result.Result;
import com.deer.wms.project.seed.core.result.ResultGenerator;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeCloth;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeClothParams;
import com.deer.wms.produce.clothflow.service.MtAloneByBakeClothService;
import com.deer.wms.intercept.annotation.User;
import com.deer.wms.intercept.common.data.CurrentUser;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import springfox.documentation.annotations.ApiIgnore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Api(description = "xxx接口")
@RestController
@RequestMapping("/mt/alone/by/bake/cloths")
public class MtAloneByBakeClothController {
@Autowired
private MtAloneByBakeClothService mtAloneByBakeClothService;
@OperateLog(description = "添加xxx", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx")
@PostMapping("/add")
public Result add(@RequestBody MtAloneByBakeCloth mtAloneByBakeCloth, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null );
}
mtAloneByBakeCloth.setCreateTime(new Date());
mtAloneByBakeClothService.save(mtAloneByBakeCloth);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "删除xxx", type = "删除")
@ApiOperation(value = "删除xxx", notes = "删除xxx")
@DeleteMapping("/delete/{id}")
public Result delete(@PathVariable Integer Id) {
mtAloneByBakeClothService.deleteById(Id);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "修改xxx", type = "更新")
@ApiOperation(value = "修改xxx", notes = "修改xxx")
@PostMapping("/update")
public Result update(@RequestBody MtAloneByBakeCloth mtAloneByBakeCloth) {
mtAloneByBakeCloth.setUpdateTime(new Date());
mtAloneByBakeClothService.update(mtAloneByBakeCloth);
return ResultGenerator.genSuccessResult();
}
@GetMapping("/detail/{id}")
public Result detail(@PathVariable Integer id) {
MtAloneByBakeCloth mtAloneByBakeCloth = mtAloneByBakeClothService.findById(id);
return ResultGenerator.genSuccessResult(mtAloneByBakeCloth);
}
@GetMapping("/list")
public Result list(MtAloneByBakeClothParams params, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
if (currentUser.getCompanyType() != SystemManageConstant.COMPANY_TYPE_MT){
params.setCompanyId(currentUser.getCompanyId());
}else{
params.setCompanyId(null);
}
PageHelper.startPage(params.getPageNum(), params.getPageSize());
//List<MtAloneByBakeCloth> list = mtAloneByBakeClothService.findList(params);
List<MtAloneByBakeCloth> list = new ArrayList<>();
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
}

View File

@@ -0,0 +1,94 @@
package com.deer.wms.produce.clothflow.web;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeCloth;
import com.deer.wms.project.seed.annotation.OperateLog;
import com.deer.wms.project.seed.constant.SystemManageConstant;
import com.deer.wms.project.seed.core.result.CommonCode;
import com.deer.wms.project.seed.core.result.Result;
import com.deer.wms.project.seed.core.result.ResultGenerator;
import com.deer.wms.produce.clothflow.model.MtAloneByCoating;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingParams;
import com.deer.wms.produce.clothflow.service.MtAloneByCoatingService;
import com.deer.wms.intercept.annotation.User;
import com.deer.wms.intercept.common.data.CurrentUser;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import springfox.documentation.annotations.ApiIgnore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Api(description = "xxx接口")
@RestController
@RequestMapping("/mt/alone/by/coatings")
public class MtAloneByCoatingController {
@Autowired
private MtAloneByCoatingService mtAloneByCoatingService;
@OperateLog(description = "添加xxx", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx")
@PostMapping("/add")
public Result add(@RequestBody MtAloneByCoating mtAloneByCoating, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null );
}
mtAloneByCoating.setCreateTime(new Date());
mtAloneByCoatingService.save(mtAloneByCoating);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "删除xxx", type = "删除")
@ApiOperation(value = "删除xxx", notes = "删除xxx")
@DeleteMapping("/delete/{id}")
public Result delete(@PathVariable Integer Id) {
mtAloneByCoatingService.deleteById(Id);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "修改xxx", type = "更新")
@ApiOperation(value = "修改xxx", notes = "修改xxx")
@PostMapping("/update")
public Result update(@RequestBody MtAloneByCoating mtAloneByCoating) {
mtAloneByCoating.setUpdateTime(new Date());
mtAloneByCoatingService.update(mtAloneByCoating);
return ResultGenerator.genSuccessResult();
}
@GetMapping("/detail/{id}")
public Result detail(@PathVariable Integer id) {
MtAloneByCoating mtAloneByCoating = mtAloneByCoatingService.findById(id);
return ResultGenerator.genSuccessResult(mtAloneByCoating);
}
@GetMapping("/list")
public Result list(MtAloneByCoatingParams params, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
if (currentUser.getCompanyType() != SystemManageConstant.COMPANY_TYPE_MT){
params.setCompanyId(currentUser.getCompanyId());
}else{
params.setCompanyId(null);
}
PageHelper.startPage(params.getPageNum(), params.getPageSize());
//List<MtAloneByCoating> list = mtAloneByCoatingService.findList(params);
List<MtAloneByBakeCloth> list = new ArrayList<>();
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
}

View File

@@ -0,0 +1,93 @@
package com.deer.wms.produce.clothflow.web;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeCloth;
import com.deer.wms.project.seed.annotation.OperateLog;
import com.deer.wms.project.seed.constant.SystemManageConstant;
import com.deer.wms.project.seed.core.result.CommonCode;
import com.deer.wms.project.seed.core.result.Result;
import com.deer.wms.project.seed.core.result.ResultGenerator;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingGlue;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingGlueParams;
import com.deer.wms.produce.clothflow.service.MtAloneByCoatingGlueService;
import com.deer.wms.intercept.annotation.User;
import com.deer.wms.intercept.common.data.CurrentUser;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import springfox.documentation.annotations.ApiIgnore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Api(description = "xxx接口")
@RestController
@RequestMapping("/mt/alone/by/coating/glues")
public class MtAloneByCoatingGlueController {
@Autowired
private MtAloneByCoatingGlueService mtAloneByCoatingGlueService;
@OperateLog(description = "添加xxx", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx")
@PostMapping("/add")
public Result add(@RequestBody MtAloneByCoatingGlue mtAloneByCoatingGlue, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null );
}
mtAloneByCoatingGlue.setCreateTime(new Date());
mtAloneByCoatingGlueService.save(mtAloneByCoatingGlue);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "删除xxx", type = "删除")
@ApiOperation(value = "删除xxx", notes = "删除xxx")
@DeleteMapping("/delete/{id}")
public Result delete(@PathVariable Integer Id) {
mtAloneByCoatingGlueService.deleteById(Id);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "修改xxx", type = "更新")
@ApiOperation(value = "修改xxx", notes = "修改xxx")
@PostMapping("/update")
public Result update(@RequestBody MtAloneByCoatingGlue mtAloneByCoatingGlue) {
mtAloneByCoatingGlueService.update(mtAloneByCoatingGlue);
return ResultGenerator.genSuccessResult();
}
@GetMapping("/detail/{id}")
public Result detail(@PathVariable Integer id) {
MtAloneByCoatingGlue mtAloneByCoatingGlue = mtAloneByCoatingGlueService.findById(id);
return ResultGenerator.genSuccessResult(mtAloneByCoatingGlue);
}
@GetMapping("/list")
public Result list(MtAloneByCoatingGlueParams params, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
if (currentUser.getCompanyType() != SystemManageConstant.COMPANY_TYPE_MT){
params.setCompanyId(currentUser.getCompanyId());
}else{
params.setCompanyId(null);
}
PageHelper.startPage(params.getPageNum(), params.getPageSize());
//List<MtAloneByCoatingGlue> list = mtAloneByCoatingGlueService.findList(params);
List<MtAloneByBakeCloth> list = new ArrayList<>();
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
}

View File

@@ -0,0 +1,94 @@
package com.deer.wms.produce.clothflow.web;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeCloth;
import com.deer.wms.project.seed.annotation.OperateLog;
import com.deer.wms.project.seed.constant.SystemManageConstant;
import com.deer.wms.project.seed.core.result.CommonCode;
import com.deer.wms.project.seed.core.result.Result;
import com.deer.wms.project.seed.core.result.ResultGenerator;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingProgress;
import com.deer.wms.produce.clothflow.model.MtAloneByCoatingProgressParams;
import com.deer.wms.produce.clothflow.service.MtAloneByCoatingProgressService;
import com.deer.wms.intercept.annotation.User;
import com.deer.wms.intercept.common.data.CurrentUser;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import springfox.documentation.annotations.ApiIgnore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Api(description = "xxx接口")
@RestController
@RequestMapping("/mt/alone/by/coating/progresss")
public class MtAloneByCoatingProgressController {
@Autowired
private MtAloneByCoatingProgressService mtAloneByCoatingProgressService;
@OperateLog(description = "添加xxx", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx")
@PostMapping("/add")
public Result add(@RequestBody MtAloneByCoatingProgress mtAloneByCoatingProgress, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null );
}
mtAloneByCoatingProgress.setCreateTime(new Date());
mtAloneByCoatingProgressService.save(mtAloneByCoatingProgress);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "删除xxx", type = "删除")
@ApiOperation(value = "删除xxx", notes = "删除xxx")
@DeleteMapping("/delete/{id}")
public Result delete(@PathVariable Integer Id) {
mtAloneByCoatingProgressService.deleteById(Id);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "修改xxx", type = "更新")
@ApiOperation(value = "修改xxx", notes = "修改xxx")
@PostMapping("/update")
public Result update(@RequestBody MtAloneByCoatingProgress mtAloneByCoatingProgress) {
mtAloneByCoatingProgress.setUpdateTime(new Date());
mtAloneByCoatingProgressService.update(mtAloneByCoatingProgress);
return ResultGenerator.genSuccessResult();
}
@GetMapping("/detail/{id}")
public Result detail(@PathVariable Integer id) {
MtAloneByCoatingProgress mtAloneByCoatingProgress = mtAloneByCoatingProgressService.findById(id);
return ResultGenerator.genSuccessResult(mtAloneByCoatingProgress);
}
@GetMapping("/list")
public Result list(MtAloneByCoatingProgressParams params, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
if (currentUser.getCompanyType() != SystemManageConstant.COMPANY_TYPE_MT){
params.setCompanyId(currentUser.getCompanyId());
}else{
params.setCompanyId(null);
}
PageHelper.startPage(params.getPageNum(), params.getPageSize());
//List<MtAloneByCoatingProgress> list = mtAloneByCoatingProgressService.findList(params);
List<MtAloneByBakeCloth> list = new ArrayList<>();
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
}

View File

@@ -0,0 +1,95 @@
package com.deer.wms.produce.clothflow.web;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeCloth;
import com.deer.wms.project.seed.annotation.OperateLog;
import com.deer.wms.project.seed.constant.SystemManageConstant;
import com.deer.wms.project.seed.core.result.CommonCode;
import com.deer.wms.project.seed.core.result.Result;
import com.deer.wms.project.seed.core.result.ResultGenerator;
import com.deer.wms.produce.clothflow.model.MtAloneByGoDyeFactory;
import com.deer.wms.produce.clothflow.model.MtAloneByGoDyeFactoryParams;
import com.deer.wms.produce.clothflow.service.MtAloneByGoDyeFactoryService;
import com.deer.wms.intercept.annotation.User;
import com.deer.wms.intercept.common.data.CurrentUser;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import springfox.documentation.annotations.ApiIgnore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Api(description = "xxx接口")
@RestController
@RequestMapping("/mt/alone/by/go/dye/factorys")
public class MtAloneByGoDyeFactoryController {
@Autowired
private MtAloneByGoDyeFactoryService mtAloneByGoDyeFactoryService;
@OperateLog(description = "添加xxx", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx")
@PostMapping("/add")
public Result add(@RequestBody MtAloneByGoDyeFactory mtAloneByGoDyeFactory, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null );
}
mtAloneByGoDyeFactory.setCreateTime(new Date());
mtAloneByGoDyeFactory.setCompanyId(currentUser.getCompanyId());
mtAloneByGoDyeFactoryService.save(mtAloneByGoDyeFactory);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "删除xxx", type = "删除")
@ApiOperation(value = "删除xxx", notes = "删除xxx")
@DeleteMapping("/delete/{id}")
public Result delete(@PathVariable Integer Id) {
mtAloneByGoDyeFactoryService.deleteById(Id);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "修改xxx", type = "更新")
@ApiOperation(value = "修改xxx", notes = "修改xxx")
@PostMapping("/update")
public Result update(@RequestBody MtAloneByGoDyeFactory mtAloneByGoDyeFactory) {
mtAloneByGoDyeFactory.setUpdateTime(new Date());
mtAloneByGoDyeFactoryService.update(mtAloneByGoDyeFactory);
return ResultGenerator.genSuccessResult();
}
@GetMapping("/detail/{id}")
public Result detail(@PathVariable Integer id) {
MtAloneByGoDyeFactory mtAloneByGoDyeFactory = mtAloneByGoDyeFactoryService.findById(id);
return ResultGenerator.genSuccessResult(mtAloneByGoDyeFactory);
}
@GetMapping("/list")
public Result list(MtAloneByGoDyeFactoryParams params, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
if (currentUser.getCompanyType() != SystemManageConstant.COMPANY_TYPE_MT){
params.setCompanyId(currentUser.getCompanyId());
}else{
params.setCompanyId(null);
}
PageHelper.startPage(params.getPageNum(), params.getPageSize());
//List<MtAloneByGoDyeFactory> list = mtAloneByGoDyeFactoryService.findList(params);
List<MtAloneByBakeCloth> list = new ArrayList<>();
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
}

View File

@@ -0,0 +1,93 @@
package com.deer.wms.produce.clothflow.web;
import com.deer.wms.produce.clothflow.model.MtAloneByBakeCloth;
import com.deer.wms.project.seed.annotation.OperateLog;
import com.deer.wms.project.seed.constant.SystemManageConstant;
import com.deer.wms.project.seed.core.result.CommonCode;
import com.deer.wms.project.seed.core.result.Result;
import com.deer.wms.project.seed.core.result.ResultGenerator;
import com.deer.wms.produce.clothflow.model.MtAloneByLogistics;
import com.deer.wms.produce.clothflow.model.MtAloneByLogisticsParams;
import com.deer.wms.produce.clothflow.service.MtAloneByLogisticsService;
import com.deer.wms.intercept.annotation.User;
import com.deer.wms.intercept.common.data.CurrentUser;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import springfox.documentation.annotations.ApiIgnore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Api(description = "xxx接口")
@RestController
@RequestMapping("/mt/alone/by/logisticss")
public class MtAloneByLogisticsController {
@Autowired
private MtAloneByLogisticsService mtAloneByLogisticsService;
@OperateLog(description = "添加xxx", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx")
@PostMapping("/add")
public Result add(@RequestBody MtAloneByLogistics mtAloneByLogistics, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null );
}
mtAloneByLogistics.setCreateTime(new Date());
mtAloneByLogisticsService.save(mtAloneByLogistics);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "删除xxx", type = "删除")
@ApiOperation(value = "删除xxx", notes = "删除xxx")
@DeleteMapping("/delete/{id}")
public Result delete(@PathVariable Integer Id) {
mtAloneByLogisticsService.deleteById(Id);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "修改xxx", type = "更新")
@ApiOperation(value = "修改xxx", notes = "修改xxx")
@PostMapping("/update")
public Result update(@RequestBody MtAloneByLogistics mtAloneByLogistics) {
mtAloneByLogisticsService.update(mtAloneByLogistics);
return ResultGenerator.genSuccessResult();
}
@GetMapping("/detail/{id}")
public Result detail(@PathVariable Integer id) {
MtAloneByLogistics mtAloneByLogistics = mtAloneByLogisticsService.findById(id);
return ResultGenerator.genSuccessResult(mtAloneByLogistics);
}
@GetMapping("/list")
public Result list(MtAloneByLogisticsParams params, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
if (currentUser.getCompanyType() != SystemManageConstant.COMPANY_TYPE_MT){
params.setCompanyId(currentUser.getCompanyId());
}else{
params.setCompanyId(null);
}
PageHelper.startPage(params.getPageNum(), params.getPageSize());
//List<MtAloneByLogistics> list = mtAloneByLogisticsService.findList(params);
List<MtAloneByBakeCloth> list = new ArrayList<>();
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
}

View File

@@ -0,0 +1,93 @@
package com.deer.wms.produce.clothflow.web;
import com.deer.wms.project.seed.annotation.OperateLog;
import com.deer.wms.project.seed.constant.SystemManageConstant;
import com.deer.wms.project.seed.core.result.CommonCode;
import com.deer.wms.project.seed.core.result.Result;
import com.deer.wms.project.seed.core.result.ResultGenerator;
import com.deer.wms.produce.clothflow.model.MtAloneByRunCloth;
import com.deer.wms.produce.clothflow.model.MtAloneByRunClothParams;
import com.deer.wms.produce.clothflow.service.MtAloneByRunClothService;
import com.deer.wms.intercept.annotation.User;
import com.deer.wms.intercept.common.data.CurrentUser;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import springfox.documentation.annotations.ApiIgnore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Api(description = "xxx接口")
@RestController
@RequestMapping("/mt/alone/by/run/cloths")
public class MtAloneByRunClothController {
@Autowired
private MtAloneByRunClothService mtAloneByRunClothService;
@OperateLog(description = "添加xxx", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx")
@PostMapping("/add")
public Result add(@RequestBody MtAloneByRunCloth mtAloneByRunCloth, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null );
}
mtAloneByRunCloth.setCreateTime(new Date());
mtAloneByRunClothService.save(mtAloneByRunCloth);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "删除xxx", type = "删除")
@ApiOperation(value = "删除xxx", notes = "删除xxx")
@DeleteMapping("/delete/{id}")
public Result delete(@PathVariable Integer Id) {
mtAloneByRunClothService.deleteById(Id);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "修改xxx", type = "更新")
@ApiOperation(value = "修改xxx", notes = "修改xxx")
@PostMapping("/update")
public Result update(@RequestBody MtAloneByRunCloth mtAloneByRunCloth) {
mtAloneByRunCloth.setUpdateTime(new Date());
mtAloneByRunClothService.update(mtAloneByRunCloth);
return ResultGenerator.genSuccessResult();
}
@GetMapping("/detail/{id}")
public Result detail(@PathVariable Integer id) {
MtAloneByRunCloth mtAloneByRunCloth = mtAloneByRunClothService.findById(id);
return ResultGenerator.genSuccessResult(mtAloneByRunCloth);
}
@GetMapping("/list")
public Result list(MtAloneByRunClothParams params, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
if (currentUser.getCompanyType() != SystemManageConstant.COMPANY_TYPE_MT){
params.setCompanyId(currentUser.getCompanyId());
}else{
params.setCompanyId(null);
}
PageHelper.startPage(params.getPageNum(), params.getPageSize());
//List<MtAloneByRunCloth> list = mtAloneByRunClothService.findList(params);
List<MtAloneByRunCloth> list = new ArrayList<>();
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
}

View File

@@ -0,0 +1,94 @@
package com.deer.wms.produce.clothflow.web;
import com.deer.wms.produce.clothflow.model.MtAloneByRunCloth;
import com.deer.wms.project.seed.annotation.OperateLog;
import com.deer.wms.project.seed.constant.SystemManageConstant;
import com.deer.wms.project.seed.core.result.CommonCode;
import com.deer.wms.project.seed.core.result.Result;
import com.deer.wms.project.seed.core.result.ResultGenerator;
import com.deer.wms.produce.clothflow.model.MtAloneByTrimming;
import com.deer.wms.produce.clothflow.model.MtAloneByTrimmingParams;
import com.deer.wms.produce.clothflow.service.MtAloneByTrimmingService;
import com.deer.wms.intercept.annotation.User;
import com.deer.wms.intercept.common.data.CurrentUser;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import springfox.documentation.annotations.ApiIgnore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by on 2020/08/18.
*/
@Api(description = "xxx接口")
@RestController
@RequestMapping("/mt/alone/by/trimmings")
public class MtAloneByTrimmingController {
@Autowired
private MtAloneByTrimmingService mtAloneByTrimmingService;
@OperateLog(description = "添加xxx", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx")
@PostMapping("/add")
public Result add(@RequestBody MtAloneByTrimming mtAloneByTrimming, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null );
}
mtAloneByTrimming.setCreateTime(new Date());
mtAloneByTrimmingService.save(mtAloneByTrimming);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "删除xxx", type = "删除")
@ApiOperation(value = "删除xxx", notes = "删除xxx")
@DeleteMapping("/delete/{id}")
public Result delete(@PathVariable Integer Id) {
mtAloneByTrimmingService.deleteById(Id);
return ResultGenerator.genSuccessResult();
}
@OperateLog(description = "修改xxx", type = "更新")
@ApiOperation(value = "修改xxx", notes = "修改xxx")
@PostMapping("/update")
public Result update(@RequestBody MtAloneByTrimming mtAloneByTrimming) {
mtAloneByTrimming.setUpdateTime(new Date());
mtAloneByTrimmingService.update(mtAloneByTrimming);
return ResultGenerator.genSuccessResult();
}
@GetMapping("/detail/{id}")
public Result detail(@PathVariable Integer id) {
MtAloneByTrimming mtAloneByTrimming = mtAloneByTrimmingService.findById(id);
return ResultGenerator.genSuccessResult(mtAloneByTrimming);
}
@GetMapping("/list")
public Result list(MtAloneByTrimmingParams params, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
if (currentUser.getCompanyType() != SystemManageConstant.COMPANY_TYPE_MT){
params.setCompanyId(currentUser.getCompanyId());
}else{
params.setCompanyId(null);
}
PageHelper.startPage(params.getPageNum(), params.getPageSize());
//List<MtAloneByTrimming> list = mtAloneByTrimmingService.findList(params);
List<MtAloneByTrimming> list = new ArrayList<>();
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
}

View File

@@ -17,15 +17,24 @@ public class CodeGenerator {
configurer.setDiverClassName("com.mysql.jdbc.Driver");
//璁剧疆闇€瑕佺敓鎴愪唬鐮佺殑鍩虹璺緞锛岀敓鎴愮殑浠g爜閮戒細鍦ㄨ璺緞涓嬮潰
configurer.setBasePackage("com.deer.wms.produce.manage");
configurer.setBasePackage("com.deer.wms.produce.clothflow");
configurer.setAuthor("");
//璁剧疆瀛愭ā鍧楀悕绉濡傛灉瑕佺敓鎴愬瓙妯″潡鐨勪唬鐮侊紝涓€瀹氳璁剧疆璇ュ€硷紝鍚﹀垯浠g爜灏嗕細鐢熸垚鍒扮埗椤圭洰涓簡)
configurer.setModuleName("/wms-produce-manage");
//configurer.setModuleName("/wms-produce-manage");
//璁剧疆闇€瑕佺敓鎴愮殑琛
configurer.getTables().add(new Table("mt_stock_provendor", null, "id", "Integer"));
// configurer.getTables().add(new Table("mt_alone_process_methods", null, "id", "Integer"));
configurer.getTables().add(new Table("mt_alone_by_run_cloth", null, "id", "Integer"));
configurer.getTables().add(new Table("mt_alone_by_bake_cloth", null, "id", "Integer"));
configurer.getTables().add(new Table("mt_alone_by_go_dye_factory", null, "id", "Integer"));
configurer.getTables().add(new Table("mt_alone_by_a_shelf", null, "id", "Integer"));
configurer.getTables().add(new Table("mt_alone_by_coating_glue", null, "id", "Integer"));
configurer.getTables().add(new Table("mt_alone_by_coating", null, "id", "Integer"));
configurer.getTables().add(new Table("mt_alone_by_coating_progress", null, "id", "Integer"));
configurer.getTables().add(new Table("mt_alone_by_trimming", null, "id", "Integer"));
configurer.getTables().add(new Table("mt_alone_by_logistics", null, "id", "Integer"));
// configurer.getTables().add(new Table("mt_alone_process_methods", null, "id", "Integer"));
//鐢熸垚浠g爜
Generator.genCode(configurer);