Commit b130a099 by yinyong

调拨计划、交运、入库新增起始仓

parent 7ed0326c
package com.bailuntec.domain.entity;
import java.time.LocalDateTime;
import lombok.Data;
import java.time.LocalDateTime;
@Data
public class DcBaseTransferDelivery {
/**
......@@ -123,6 +124,24 @@ public class DcBaseTransferDelivery {
private Boolean deleted;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_transfer_delivery.company_id
*
* @mbg.generated
*/
private Integer companyId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_transfer_delivery.source_warehouse_code
*
* @mbg.generated
*/
private String sourceWarehouseCode;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_delivery
*
......@@ -147,6 +166,8 @@ public class DcBaseTransferDelivery {
sb.append(", skuTitle=").append(skuTitle);
sb.append(", transferKey=").append(transferKey);
sb.append(", deleted=").append(deleted);
sb.append(", companyId=").append(companyId);
sb.append(", sourceWarehouseCode=").append(sourceWarehouseCode);
sb.append("]");
return sb.toString();
}
......@@ -181,7 +202,9 @@ public class DcBaseTransferDelivery {
&& (this.getCount() == null ? other.getCount() == null : this.getCount().equals(other.getCount()))
&& (this.getSkuTitle() == null ? other.getSkuTitle() == null : this.getSkuTitle().equals(other.getSkuTitle()))
&& (this.getTransferKey() == null ? other.getTransferKey() == null : this.getTransferKey().equals(other.getTransferKey()))
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()));
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()))
&& (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
&& (this.getSourceWarehouseCode() == null ? other.getSourceWarehouseCode() == null : this.getSourceWarehouseCode().equals(other.getSourceWarehouseCode()));
}
/**
......@@ -207,6 +230,8 @@ public class DcBaseTransferDelivery {
result = prime * result + ((getSkuTitle() == null) ? 0 : getSkuTitle().hashCode());
result = prime * result + ((getTransferKey() == null) ? 0 : getTransferKey().hashCode());
result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
result = prime * result + ((getSourceWarehouseCode() == null) ? 0 : getSourceWarehouseCode().hashCode());
return result;
}
}
\ No newline at end of file
......@@ -124,6 +124,24 @@ public class DcBaseTransferInbound {
private Boolean deleted;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_transfer_inbound.company_id
*
* @mbg.generated
*/
private Integer companyId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_transfer_inbound.source_warehouse_code
*
* @mbg.generated
*/
private String sourceWarehouseCode;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_inbound
*
......@@ -148,6 +166,8 @@ public class DcBaseTransferInbound {
sb.append(", skuTitle=").append(skuTitle);
sb.append(", transferKey=").append(transferKey);
sb.append(", deleted=").append(deleted);
sb.append(", companyId=").append(companyId);
sb.append(", sourceWarehouseCode=").append(sourceWarehouseCode);
sb.append("]");
return sb.toString();
}
......@@ -182,7 +202,9 @@ public class DcBaseTransferInbound {
&& (this.getCount() == null ? other.getCount() == null : this.getCount().equals(other.getCount()))
&& (this.getSkuTitle() == null ? other.getSkuTitle() == null : this.getSkuTitle().equals(other.getSkuTitle()))
&& (this.getTransferKey() == null ? other.getTransferKey() == null : this.getTransferKey().equals(other.getTransferKey()))
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()));
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()))
&& (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
&& (this.getSourceWarehouseCode() == null ? other.getSourceWarehouseCode() == null : this.getSourceWarehouseCode().equals(other.getSourceWarehouseCode()));
}
/**
......@@ -208,6 +230,8 @@ public class DcBaseTransferInbound {
result = prime * result + ((getSkuTitle() == null) ? 0 : getSkuTitle().hashCode());
result = prime * result + ((getTransferKey() == null) ? 0 : getTransferKey().hashCode());
result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
result = prime * result + ((getSourceWarehouseCode() == null) ? 0 : getSourceWarehouseCode().hashCode());
return result;
}
}
\ No newline at end of file
......@@ -124,6 +124,24 @@ public class DcBaseTransferPlan {
private Boolean deleted;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_transfer_plan.company_id
*
* @mbg.generated
*/
private Integer companyId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_transfer_plan.source_warehouse_code
*
* @mbg.generated
*/
private String sourceWarehouseCode;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_plan
*
......@@ -148,6 +166,8 @@ public class DcBaseTransferPlan {
sb.append(", skuTitle=").append(skuTitle);
sb.append(", transferKey=").append(transferKey);
sb.append(", deleted=").append(deleted);
sb.append(", companyId=").append(companyId);
sb.append(", sourceWarehouseCode=").append(sourceWarehouseCode);
sb.append("]");
return sb.toString();
}
......@@ -182,7 +202,9 @@ public class DcBaseTransferPlan {
&& (this.getCount() == null ? other.getCount() == null : this.getCount().equals(other.getCount()))
&& (this.getSkuTitle() == null ? other.getSkuTitle() == null : this.getSkuTitle().equals(other.getSkuTitle()))
&& (this.getTransferKey() == null ? other.getTransferKey() == null : this.getTransferKey().equals(other.getTransferKey()))
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()));
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()))
&& (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
&& (this.getSourceWarehouseCode() == null ? other.getSourceWarehouseCode() == null : this.getSourceWarehouseCode().equals(other.getSourceWarehouseCode()));
}
/**
......@@ -208,6 +230,8 @@ public class DcBaseTransferPlan {
result = prime * result + ((getSkuTitle() == null) ? 0 : getSkuTitle().hashCode());
result = prime * result + ((getTransferKey() == null) ? 0 : getTransferKey().hashCode());
result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
result = prime * result + ((getSourceWarehouseCode() == null) ? 0 : getSourceWarehouseCode().hashCode());
return result;
}
}
\ No newline at end of file
......@@ -218,6 +218,36 @@ public class DcBaseTransferDeliveryExample {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public DcBaseTransferDeliveryExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_delivery
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public DcBaseTransferDeliveryExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_delivery
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void setOffset(Integer offset) {
this.offset = offset;
}
......@@ -1179,6 +1209,136 @@ public class DcBaseTransferDeliveryExample {
addCriterion("deleted not between", value1, value2, "deleted");
return (Criteria) this;
}
public Criteria andCompanyIdIsNull() {
addCriterion("company_id is null");
return (Criteria) this;
}
public Criteria andCompanyIdIsNotNull() {
addCriterion("company_id is not null");
return (Criteria) this;
}
public Criteria andCompanyIdEqualTo(Integer value) {
addCriterion("company_id =", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotEqualTo(Integer value) {
addCriterion("company_id <>", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdGreaterThan(Integer value) {
addCriterion("company_id >", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) {
addCriterion("company_id >=", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdLessThan(Integer value) {
addCriterion("company_id <", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdLessThanOrEqualTo(Integer value) {
addCriterion("company_id <=", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdIn(List<Integer> values) {
addCriterion("company_id in", values, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotIn(List<Integer> values) {
addCriterion("company_id not in", values, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdBetween(Integer value1, Integer value2) {
addCriterion("company_id between", value1, value2, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) {
addCriterion("company_id not between", value1, value2, "companyId");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeIsNull() {
addCriterion("source_warehouse_code is null");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeIsNotNull() {
addCriterion("source_warehouse_code is not null");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeEqualTo(String value) {
addCriterion("source_warehouse_code =", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotEqualTo(String value) {
addCriterion("source_warehouse_code <>", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeGreaterThan(String value) {
addCriterion("source_warehouse_code >", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeGreaterThanOrEqualTo(String value) {
addCriterion("source_warehouse_code >=", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeLessThan(String value) {
addCriterion("source_warehouse_code <", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeLessThanOrEqualTo(String value) {
addCriterion("source_warehouse_code <=", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeLike(String value) {
addCriterion("source_warehouse_code like", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotLike(String value) {
addCriterion("source_warehouse_code not like", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeIn(List<String> values) {
addCriterion("source_warehouse_code in", values, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotIn(List<String> values) {
addCriterion("source_warehouse_code not in", values, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeBetween(String value1, String value2) {
addCriterion("source_warehouse_code between", value1, value2, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotBetween(String value1, String value2) {
addCriterion("source_warehouse_code not between", value1, value2, "sourceWarehouseCode");
return (Criteria) this;
}
}
/**
......@@ -1227,6 +1387,7 @@ public class DcBaseTransferDeliveryExample {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -1235,12 +1396,43 @@ public class DcBaseTransferDeliveryExample {
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_delivery
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_delivery
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table dc_base_transfer_delivery
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public interface ICriteriaAdd {
/**
* This method was generated by MyBatis Generator.
......@@ -1344,4 +1536,40 @@ public class DcBaseTransferDeliveryExample {
this(condition, value, secondValue, null);
}
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table dc_base_transfer_delivery
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_delivery
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
void criteria(Criteria criteria);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table dc_base_transfer_delivery
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_delivery
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
void example(DcBaseTransferDeliveryExample example);
}
}
\ No newline at end of file
......@@ -218,6 +218,36 @@ public class DcBaseTransferInboundExample {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public DcBaseTransferInboundExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_inbound
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public DcBaseTransferInboundExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_inbound
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void setOffset(Integer offset) {
this.offset = offset;
}
......@@ -1179,6 +1209,136 @@ public class DcBaseTransferInboundExample {
addCriterion("deleted not between", value1, value2, "deleted");
return (Criteria) this;
}
public Criteria andCompanyIdIsNull() {
addCriterion("company_id is null");
return (Criteria) this;
}
public Criteria andCompanyIdIsNotNull() {
addCriterion("company_id is not null");
return (Criteria) this;
}
public Criteria andCompanyIdEqualTo(Integer value) {
addCriterion("company_id =", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotEqualTo(Integer value) {
addCriterion("company_id <>", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdGreaterThan(Integer value) {
addCriterion("company_id >", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) {
addCriterion("company_id >=", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdLessThan(Integer value) {
addCriterion("company_id <", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdLessThanOrEqualTo(Integer value) {
addCriterion("company_id <=", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdIn(List<Integer> values) {
addCriterion("company_id in", values, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotIn(List<Integer> values) {
addCriterion("company_id not in", values, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdBetween(Integer value1, Integer value2) {
addCriterion("company_id between", value1, value2, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) {
addCriterion("company_id not between", value1, value2, "companyId");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeIsNull() {
addCriterion("source_warehouse_code is null");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeIsNotNull() {
addCriterion("source_warehouse_code is not null");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeEqualTo(String value) {
addCriterion("source_warehouse_code =", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotEqualTo(String value) {
addCriterion("source_warehouse_code <>", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeGreaterThan(String value) {
addCriterion("source_warehouse_code >", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeGreaterThanOrEqualTo(String value) {
addCriterion("source_warehouse_code >=", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeLessThan(String value) {
addCriterion("source_warehouse_code <", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeLessThanOrEqualTo(String value) {
addCriterion("source_warehouse_code <=", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeLike(String value) {
addCriterion("source_warehouse_code like", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotLike(String value) {
addCriterion("source_warehouse_code not like", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeIn(List<String> values) {
addCriterion("source_warehouse_code in", values, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotIn(List<String> values) {
addCriterion("source_warehouse_code not in", values, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeBetween(String value1, String value2) {
addCriterion("source_warehouse_code between", value1, value2, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotBetween(String value1, String value2) {
addCriterion("source_warehouse_code not between", value1, value2, "sourceWarehouseCode");
return (Criteria) this;
}
}
/**
......@@ -1227,6 +1387,7 @@ public class DcBaseTransferInboundExample {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -1235,12 +1396,43 @@ public class DcBaseTransferInboundExample {
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_inbound
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_inbound
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table dc_base_transfer_inbound
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public interface ICriteriaAdd {
/**
* This method was generated by MyBatis Generator.
......@@ -1344,4 +1536,40 @@ public class DcBaseTransferInboundExample {
this(condition, value, secondValue, null);
}
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table dc_base_transfer_inbound
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_inbound
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
void criteria(Criteria criteria);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table dc_base_transfer_inbound
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_base_transfer_inbound
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
void example(DcBaseTransferInboundExample example);
}
}
\ No newline at end of file
......@@ -1209,6 +1209,136 @@ public class DcBaseTransferPlanExample {
addCriterion("deleted not between", value1, value2, "deleted");
return (Criteria) this;
}
public Criteria andCompanyIdIsNull() {
addCriterion("company_id is null");
return (Criteria) this;
}
public Criteria andCompanyIdIsNotNull() {
addCriterion("company_id is not null");
return (Criteria) this;
}
public Criteria andCompanyIdEqualTo(Integer value) {
addCriterion("company_id =", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotEqualTo(Integer value) {
addCriterion("company_id <>", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdGreaterThan(Integer value) {
addCriterion("company_id >", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) {
addCriterion("company_id >=", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdLessThan(Integer value) {
addCriterion("company_id <", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdLessThanOrEqualTo(Integer value) {
addCriterion("company_id <=", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdIn(List<Integer> values) {
addCriterion("company_id in", values, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotIn(List<Integer> values) {
addCriterion("company_id not in", values, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdBetween(Integer value1, Integer value2) {
addCriterion("company_id between", value1, value2, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) {
addCriterion("company_id not between", value1, value2, "companyId");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeIsNull() {
addCriterion("source_warehouse_code is null");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeIsNotNull() {
addCriterion("source_warehouse_code is not null");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeEqualTo(String value) {
addCriterion("source_warehouse_code =", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotEqualTo(String value) {
addCriterion("source_warehouse_code <>", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeGreaterThan(String value) {
addCriterion("source_warehouse_code >", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeGreaterThanOrEqualTo(String value) {
addCriterion("source_warehouse_code >=", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeLessThan(String value) {
addCriterion("source_warehouse_code <", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeLessThanOrEqualTo(String value) {
addCriterion("source_warehouse_code <=", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeLike(String value) {
addCriterion("source_warehouse_code like", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotLike(String value) {
addCriterion("source_warehouse_code not like", value, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeIn(List<String> values) {
addCriterion("source_warehouse_code in", values, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotIn(List<String> values) {
addCriterion("source_warehouse_code not in", values, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeBetween(String value1, String value2) {
addCriterion("source_warehouse_code between", value1, value2, "sourceWarehouseCode");
return (Criteria) this;
}
public Criteria andSourceWarehouseCodeNotBetween(String value1, String value2) {
addCriterion("source_warehouse_code not between", value1, value2, "sourceWarehouseCode");
return (Criteria) this;
}
}
/**
......
......@@ -2,9 +2,10 @@ package com.bailuntec.mapper;
import com.bailuntec.domain.entity.DcBaseTransferDelivery;
import com.bailuntec.domain.example.DcBaseTransferDeliveryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface DcBaseTransferDeliveryMapper {
/**
* This method was generated by MyBatis Generator.
......
......@@ -19,6 +19,8 @@
<result column="sku_title" jdbcType="VARCHAR" property="skuTitle" />
<result column="transfer_key" jdbcType="INTEGER" property="transferKey" />
<result column="deleted" jdbcType="BIT" property="deleted" />
<result column="company_id" jdbcType="INTEGER" property="companyId" />
<result column="source_warehouse_code" jdbcType="VARCHAR" property="sourceWarehouseCode" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -92,7 +94,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, gmt_create, gmt_modified, bailun_sku, transfer_order_id, warehouse_code, warehouse_name,
status, create_time, count, sku_title, transfer_key, deleted
status, create_time, count, sku_title, transfer_key, deleted, company_id, source_warehouse_code
</sql>
<select id="selectByExample" parameterType="com.bailuntec.domain.example.DcBaseTransferDeliveryExample" resultMap="BaseResultMap">
<!--
......@@ -157,12 +159,14 @@
bailun_sku, transfer_order_id, warehouse_code,
warehouse_name, status, create_time,
count, sku_title, transfer_key,
deleted)
values (#{id,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
deleted, company_id, source_warehouse_code
)
values (#{id,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{bailunSku,jdbcType=VARCHAR}, #{transferOrderId,jdbcType=VARCHAR}, #{warehouseCode,jdbcType=VARCHAR},
#{warehouseName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{warehouseName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{count,jdbcType=INTEGER}, #{skuTitle,jdbcType=VARCHAR}, #{transferKey,jdbcType=INTEGER},
#{deleted,jdbcType=BIT})
#{deleted,jdbcType=BIT}, #{companyId,jdbcType=INTEGER}, #{sourceWarehouseCode,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBaseTransferDelivery">
<!--
......@@ -210,6 +214,12 @@
<if test="deleted != null">
deleted,
</if>
<if test="companyId != null">
company_id,
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -251,6 +261,12 @@
<if test="deleted != null">
#{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
#{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
#{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.bailuntec.domain.example.DcBaseTransferDeliveryExample" resultType="java.lang.Long">
......@@ -309,6 +325,12 @@
<if test="record.deleted != null">
deleted = #{record.deleted,jdbcType=BIT},
</if>
<if test="record.companyId != null">
company_id = #{record.companyId,jdbcType=INTEGER},
</if>
<if test="record.sourceWarehouseCode != null">
source_warehouse_code = #{record.sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -332,7 +354,9 @@
count = #{record.count,jdbcType=INTEGER},
sku_title = #{record.skuTitle,jdbcType=VARCHAR},
transfer_key = #{record.transferKey,jdbcType=INTEGER},
deleted = #{record.deleted,jdbcType=BIT}
deleted = #{record.deleted,jdbcType=BIT},
company_id = #{record.companyId,jdbcType=INTEGER},
source_warehouse_code = #{record.sourceWarehouseCode,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -380,6 +404,12 @@
<if test="deleted != null">
deleted = #{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
company_id = #{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
......@@ -400,7 +430,9 @@
count = #{count,jdbcType=INTEGER},
sku_title = #{skuTitle,jdbcType=VARCHAR},
transfer_key = #{transferKey,jdbcType=INTEGER},
deleted = #{deleted,jdbcType=BIT}
deleted = #{deleted,jdbcType=BIT},
company_id = #{companyId,jdbcType=INTEGER},
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<insert id="upsertSelective" parameterType="com.bailuntec.domain.entity.DcBaseTransferDelivery">
......@@ -450,6 +482,12 @@
<if test="deleted != null">
deleted,
</if>
<if test="companyId != null">
company_id,
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code,
</if>
</trim>
values
<trim prefix="(" suffix=")" suffixOverrides=",">
......@@ -492,6 +530,12 @@
<if test="deleted != null">
#{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
#{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
#{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</trim>
on duplicate key update
<trim suffixOverrides=",">
......@@ -534,6 +578,12 @@
<if test="deleted != null">
deleted = #{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
company_id = #{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<insert id="upsert" parameterType="com.bailuntec.domain.entity.DcBaseTransferDelivery">
......@@ -544,27 +594,31 @@
-->
insert into dc_base_transfer_delivery
(id, gmt_create, gmt_modified, bailun_sku, transfer_order_id, warehouse_code, warehouse_name,
status, create_time, count, sku_title, transfer_key, deleted)
status, create_time, count, sku_title, transfer_key, deleted, company_id, source_warehouse_code
)
values
(#{id,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
(#{id,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{bailunSku,jdbcType=VARCHAR}, #{transferOrderId,jdbcType=VARCHAR}, #{warehouseCode,jdbcType=VARCHAR},
#{warehouseName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{warehouseName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{count,jdbcType=INTEGER}, #{skuTitle,jdbcType=VARCHAR}, #{transferKey,jdbcType=INTEGER},
#{deleted,jdbcType=BIT})
#{deleted,jdbcType=BIT}, #{companyId,jdbcType=INTEGER}, #{sourceWarehouseCode,jdbcType=VARCHAR}
)
on duplicate key update
id = #{id,jdbcType=INTEGER},
gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
bailun_sku = #{bailunSku,jdbcType=VARCHAR},
transfer_order_id = #{transferOrderId,jdbcType=VARCHAR},
warehouse_code = #{warehouseCode,jdbcType=VARCHAR},
warehouse_name = #{warehouseName,jdbcType=VARCHAR},
status = #{status,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
count = #{count,jdbcType=INTEGER},
sku_title = #{skuTitle,jdbcType=VARCHAR},
transfer_key = #{transferKey,jdbcType=INTEGER},
deleted = #{deleted,jdbcType=BIT}
deleted = #{deleted,jdbcType=BIT},
company_id = #{companyId,jdbcType=INTEGER},
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR}
</insert>
<select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcBaseTransferDeliveryExample" resultMap="BaseResultMap">
<!--
......
......@@ -2,9 +2,10 @@ package com.bailuntec.mapper;
import com.bailuntec.domain.entity.DcBaseTransferInbound;
import com.bailuntec.domain.example.DcBaseTransferInboundExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface DcBaseTransferInboundMapper {
/**
* This method was generated by MyBatis Generator.
......
......@@ -19,6 +19,8 @@
<result column="sku_title" jdbcType="VARCHAR" property="skuTitle" />
<result column="transfer_key" jdbcType="INTEGER" property="transferKey" />
<result column="deleted" jdbcType="BIT" property="deleted" />
<result column="company_id" jdbcType="INTEGER" property="companyId" />
<result column="source_warehouse_code" jdbcType="VARCHAR" property="sourceWarehouseCode" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -92,7 +94,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, gmt_create, gmt_modified, bailun_sku, transfer_order_id, warehouse_code, warehouse_name,
status, create_time, count, sku_title, transfer_key, deleted
status, create_time, count, sku_title, transfer_key, deleted, company_id, source_warehouse_code
</sql>
<select id="selectByExample" parameterType="com.bailuntec.domain.example.DcBaseTransferInboundExample" resultMap="BaseResultMap">
<!--
......@@ -157,12 +159,14 @@
bailun_sku, transfer_order_id, warehouse_code,
warehouse_name, status, create_time,
count, sku_title, transfer_key,
deleted)
values (#{id,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
deleted, company_id, source_warehouse_code
)
values (#{id,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{bailunSku,jdbcType=VARCHAR}, #{transferOrderId,jdbcType=VARCHAR}, #{warehouseCode,jdbcType=VARCHAR},
#{warehouseName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{warehouseName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{count,jdbcType=INTEGER}, #{skuTitle,jdbcType=VARCHAR}, #{transferKey,jdbcType=INTEGER},
#{deleted,jdbcType=BIT})
#{deleted,jdbcType=BIT}, #{companyId,jdbcType=INTEGER}, #{sourceWarehouseCode,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBaseTransferInbound">
<!--
......@@ -210,6 +214,12 @@
<if test="deleted != null">
deleted,
</if>
<if test="companyId != null">
company_id,
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -251,6 +261,12 @@
<if test="deleted != null">
#{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
#{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
#{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.bailuntec.domain.example.DcBaseTransferInboundExample" resultType="java.lang.Long">
......@@ -309,6 +325,12 @@
<if test="record.deleted != null">
deleted = #{record.deleted,jdbcType=BIT},
</if>
<if test="record.companyId != null">
company_id = #{record.companyId,jdbcType=INTEGER},
</if>
<if test="record.sourceWarehouseCode != null">
source_warehouse_code = #{record.sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -332,7 +354,9 @@
count = #{record.count,jdbcType=INTEGER},
sku_title = #{record.skuTitle,jdbcType=VARCHAR},
transfer_key = #{record.transferKey,jdbcType=INTEGER},
deleted = #{record.deleted,jdbcType=BIT}
deleted = #{record.deleted,jdbcType=BIT},
company_id = #{record.companyId,jdbcType=INTEGER},
source_warehouse_code = #{record.sourceWarehouseCode,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -380,6 +404,12 @@
<if test="deleted != null">
deleted = #{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
company_id = #{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
......@@ -400,7 +430,9 @@
count = #{count,jdbcType=INTEGER},
sku_title = #{skuTitle,jdbcType=VARCHAR},
transfer_key = #{transferKey,jdbcType=INTEGER},
deleted = #{deleted,jdbcType=BIT}
deleted = #{deleted,jdbcType=BIT},
company_id = #{companyId,jdbcType=INTEGER},
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<insert id="upsertSelective" parameterType="com.bailuntec.domain.entity.DcBaseTransferInbound">
......@@ -450,6 +482,12 @@
<if test="deleted != null">
deleted,
</if>
<if test="companyId != null">
company_id,
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code,
</if>
</trim>
values
<trim prefix="(" suffix=")" suffixOverrides=",">
......@@ -492,6 +530,12 @@
<if test="deleted != null">
#{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
#{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
#{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</trim>
on duplicate key update
<trim suffixOverrides=",">
......@@ -534,6 +578,12 @@
<if test="deleted != null">
deleted = #{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
company_id = #{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<insert id="upsert" parameterType="com.bailuntec.domain.entity.DcBaseTransferInbound">
......@@ -544,27 +594,31 @@
-->
insert into dc_base_transfer_inbound
(id, gmt_create, gmt_modified, bailun_sku, transfer_order_id, warehouse_code, warehouse_name,
status, create_time, count, sku_title, transfer_key, deleted)
status, create_time, count, sku_title, transfer_key, deleted, company_id, source_warehouse_code
)
values
(#{id,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
(#{id,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{bailunSku,jdbcType=VARCHAR}, #{transferOrderId,jdbcType=VARCHAR}, #{warehouseCode,jdbcType=VARCHAR},
#{warehouseName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{warehouseName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{count,jdbcType=INTEGER}, #{skuTitle,jdbcType=VARCHAR}, #{transferKey,jdbcType=INTEGER},
#{deleted,jdbcType=BIT})
#{deleted,jdbcType=BIT}, #{companyId,jdbcType=INTEGER}, #{sourceWarehouseCode,jdbcType=VARCHAR}
)
on duplicate key update
id = #{id,jdbcType=INTEGER},
gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
bailun_sku = #{bailunSku,jdbcType=VARCHAR},
transfer_order_id = #{transferOrderId,jdbcType=VARCHAR},
warehouse_code = #{warehouseCode,jdbcType=VARCHAR},
warehouse_name = #{warehouseName,jdbcType=VARCHAR},
status = #{status,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
count = #{count,jdbcType=INTEGER},
sku_title = #{skuTitle,jdbcType=VARCHAR},
transfer_key = #{transferKey,jdbcType=INTEGER},
deleted = #{deleted,jdbcType=BIT}
deleted = #{deleted,jdbcType=BIT},
company_id = #{companyId,jdbcType=INTEGER},
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR}
</insert>
<select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcBaseTransferInboundExample" resultMap="BaseResultMap">
<!--
......
......@@ -2,9 +2,10 @@ package com.bailuntec.mapper;
import com.bailuntec.domain.entity.DcBaseTransferPlan;
import com.bailuntec.domain.example.DcBaseTransferPlanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface DcBaseTransferPlanMapper {
/**
* This method was generated by MyBatis Generator.
......
......@@ -19,6 +19,8 @@
<result column="sku_title" jdbcType="VARCHAR" property="skuTitle" />
<result column="transfer_key" jdbcType="INTEGER" property="transferKey" />
<result column="deleted" jdbcType="BIT" property="deleted" />
<result column="company_id" jdbcType="INTEGER" property="companyId" />
<result column="source_warehouse_code" jdbcType="VARCHAR" property="sourceWarehouseCode" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -92,7 +94,8 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, gmt_create, gmt_modified, bailun_sku, transfer_plan_order_id, warehouse_code,
warehouse_name, status, update_time, count, sku_title, transfer_key, deleted
warehouse_name, status, update_time, count, sku_title, transfer_key, deleted, company_id,
source_warehouse_code
</sql>
<select id="selectByExample" parameterType="com.bailuntec.domain.example.DcBaseTransferPlanExample" resultMap="BaseResultMap">
<!--
......@@ -157,12 +160,14 @@
bailun_sku, transfer_plan_order_id, warehouse_code,
warehouse_name, status, update_time,
count, sku_title, transfer_key,
deleted)
deleted, company_id, source_warehouse_code
)
values (#{id,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{bailunSku,jdbcType=VARCHAR}, #{transferPlanOrderId,jdbcType=VARCHAR}, #{warehouseCode,jdbcType=VARCHAR},
#{warehouseName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{count,jdbcType=INTEGER}, #{skuTitle,jdbcType=VARCHAR}, #{transferKey,jdbcType=INTEGER},
#{deleted,jdbcType=BIT})
#{deleted,jdbcType=BIT}, #{companyId,jdbcType=INTEGER}, #{sourceWarehouseCode,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBaseTransferPlan">
<!--
......@@ -210,6 +215,12 @@
<if test="deleted != null">
deleted,
</if>
<if test="companyId != null">
company_id,
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -251,6 +262,12 @@
<if test="deleted != null">
#{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
#{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
#{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.bailuntec.domain.example.DcBaseTransferPlanExample" resultType="java.lang.Long">
......@@ -309,6 +326,12 @@
<if test="record.deleted != null">
deleted = #{record.deleted,jdbcType=BIT},
</if>
<if test="record.companyId != null">
company_id = #{record.companyId,jdbcType=INTEGER},
</if>
<if test="record.sourceWarehouseCode != null">
source_warehouse_code = #{record.sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -332,7 +355,9 @@
count = #{record.count,jdbcType=INTEGER},
sku_title = #{record.skuTitle,jdbcType=VARCHAR},
transfer_key = #{record.transferKey,jdbcType=INTEGER},
deleted = #{record.deleted,jdbcType=BIT}
deleted = #{record.deleted,jdbcType=BIT},
company_id = #{record.companyId,jdbcType=INTEGER},
source_warehouse_code = #{record.sourceWarehouseCode,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -380,6 +405,12 @@
<if test="deleted != null">
deleted = #{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
company_id = #{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
......@@ -400,7 +431,9 @@
count = #{count,jdbcType=INTEGER},
sku_title = #{skuTitle,jdbcType=VARCHAR},
transfer_key = #{transferKey,jdbcType=INTEGER},
deleted = #{deleted,jdbcType=BIT}
deleted = #{deleted,jdbcType=BIT},
company_id = #{companyId,jdbcType=INTEGER},
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<insert id="upsertSelective" parameterType="com.bailuntec.domain.entity.DcBaseTransferPlan">
......@@ -450,6 +483,12 @@
<if test="deleted != null">
deleted,
</if>
<if test="companyId != null">
company_id,
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code,
</if>
</trim>
values
<trim prefix="(" suffix=")" suffixOverrides=",">
......@@ -492,6 +531,12 @@
<if test="deleted != null">
#{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
#{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
#{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</trim>
on duplicate key update
<trim suffixOverrides=",">
......@@ -534,6 +579,12 @@
<if test="deleted != null">
deleted = #{deleted,jdbcType=BIT},
</if>
<if test="companyId != null">
company_id = #{companyId,jdbcType=INTEGER},
</if>
<if test="sourceWarehouseCode != null">
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<insert id="upsert" parameterType="com.bailuntec.domain.entity.DcBaseTransferPlan">
......@@ -544,13 +595,15 @@
-->
insert into dc_base_transfer_plan
(id, gmt_create, gmt_modified, bailun_sku, transfer_plan_order_id, warehouse_code,
warehouse_name, status, update_time, count, sku_title, transfer_key, deleted)
warehouse_name, status, update_time, count, sku_title, transfer_key, deleted, company_id,
source_warehouse_code)
values
(#{id,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{bailunSku,jdbcType=VARCHAR}, #{transferPlanOrderId,jdbcType=VARCHAR}, #{warehouseCode,jdbcType=VARCHAR},
#{warehouseName,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{count,jdbcType=INTEGER}, #{skuTitle,jdbcType=VARCHAR}, #{transferKey,jdbcType=INTEGER},
#{deleted,jdbcType=BIT})
#{deleted,jdbcType=BIT}, #{companyId,jdbcType=INTEGER}, #{sourceWarehouseCode,jdbcType=VARCHAR}
)
on duplicate key update
id = #{id,jdbcType=INTEGER},
gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
......@@ -564,7 +617,9 @@
count = #{count,jdbcType=INTEGER},
sku_title = #{skuTitle,jdbcType=VARCHAR},
transfer_key = #{transferKey,jdbcType=INTEGER},
deleted = #{deleted,jdbcType=BIT}
deleted = #{deleted,jdbcType=BIT},
company_id = #{companyId,jdbcType=INTEGER},
source_warehouse_code = #{sourceWarehouseCode,jdbcType=VARCHAR}
</insert>
<select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcBaseTransferPlanExample" resultMap="BaseResultMap">
<!--
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment