Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
dc-java
Commits
b130a099
Commit
b130a099
authored
Oct 10, 2019
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调拨计划、交运、入库新增起始仓
parent
7ed0326c
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
875 additions
and
45 deletions
+875
-45
DcBaseTransferDelivery.java
...a/com/bailuntec/domain/entity/DcBaseTransferDelivery.java
+28
-2
DcBaseTransferInbound.java
...va/com/bailuntec/domain/entity/DcBaseTransferInbound.java
+26
-1
DcBaseTransferPlan.java
.../java/com/bailuntec/domain/entity/DcBaseTransferPlan.java
+26
-1
DcBaseTransferDeliveryExample.java
...iluntec/domain/example/DcBaseTransferDeliveryExample.java
+229
-0
DcBaseTransferInboundExample.java
...ailuntec/domain/example/DcBaseTransferInboundExample.java
+229
-0
DcBaseTransferPlanExample.java
...m/bailuntec/domain/example/DcBaseTransferPlanExample.java
+130
-0
DcBaseTransferDeliveryMapper.java
...va/com/bailuntec/mapper/DcBaseTransferDeliveryMapper.java
+2
-1
DcBaseTransferDeliveryMapper.xml
...ava/com/bailuntec/mapper/DcBaseTransferDeliveryMapper.xml
+69
-15
DcBaseTransferInboundMapper.java
...ava/com/bailuntec/mapper/DcBaseTransferInboundMapper.java
+2
-1
DcBaseTransferInboundMapper.xml
...java/com/bailuntec/mapper/DcBaseTransferInboundMapper.xml
+69
-15
DcBaseTransferPlanMapper.java
...n/java/com/bailuntec/mapper/DcBaseTransferPlanMapper.java
+2
-1
DcBaseTransferPlanMapper.xml
...in/java/com/bailuntec/mapper/DcBaseTransferPlanMapper.xml
+63
-8
No files found.
data-common/src/main/java/com/bailuntec/domain/entity/DcBaseTransferDelivery.java
View file @
b130a099
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
data-common/src/main/java/com/bailuntec/domain/entity/DcBaseTransferInbound.java
View file @
b130a099
...
...
@@ -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
data-common/src/main/java/com/bailuntec/domain/entity/DcBaseTransferPlan.java
View file @
b130a099
...
...
@@ -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
data-common/src/main/java/com/bailuntec/domain/example/DcBaseTransferDeliveryExample.java
View file @
b130a099
...
...
@@ -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
data-common/src/main/java/com/bailuntec/domain/example/DcBaseTransferInboundExample.java
View file @
b130a099
...
...
@@ -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
data-common/src/main/java/com/bailuntec/domain/example/DcBaseTransferPlanExample.java
View file @
b130a099
...
...
@@ -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
;
}
}
/**
...
...
data-common/src/main/java/com/bailuntec/mapper/DcBaseTransferDeliveryMapper.java
View file @
b130a099
...
...
@@ -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.
...
...
data-common/src/main/java/com/bailuntec/mapper/DcBaseTransferDeliveryMapper.xml
View file @
b130a099
...
...
@@ -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"
>
<!--
...
...
data-common/src/main/java/com/bailuntec/mapper/DcBaseTransferInboundMapper.java
View file @
b130a099
...
...
@@ -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.
...
...
data-common/src/main/java/com/bailuntec/mapper/DcBaseTransferInboundMapper.xml
View file @
b130a099
...
...
@@ -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"
>
<!--
...
...
data-common/src/main/java/com/bailuntec/mapper/DcBaseTransferPlanMapper.java
View file @
b130a099
...
...
@@ -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.
...
...
data-common/src/main/java/com/bailuntec/mapper/DcBaseTransferPlanMapper.xml
View file @
b130a099
...
...
@@ -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"
>
<!--
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment