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
huluobin
dc-java
Commits
b33b811d
Commit
b33b811d
authored
Nov 21, 2019
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购明细--供应商value值
parent
fcbc2c35
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
96 additions
and
21 deletions
+96
-21
PurchaseDetailDTO.java
...main/java/com/bailuntec/domain/dto/PurchaseDetailDTO.java
+3
-0
DcBasePurchaseDetails.java
...va/com/bailuntec/domain/entity/DcBasePurchaseDetails.java
+13
-1
DcBasePurchaseDetailsExample.java
...ailuntec/domain/example/DcBasePurchaseDetailsExample.java
+80
-20
DcBasePurchaseDetailsMapper.xml
...java/com/bailuntec/mapper/DcBasePurchaseDetailsMapper.xml
+0
-0
No files found.
data-base/base-sync-purchase-details/src/main/java/com/bailuntec/domain/dto/PurchaseDetailDTO.java
View file @
b33b811d
...
...
@@ -58,6 +58,9 @@ public class PurchaseDetailDTO {
@JSONField
(
name
=
"SupplierName"
)
private
String
deliverName
;
@JSONField
(
name
=
"SupplierValue"
)
private
Integer
deliverValue
;
/**
*
* This field was generated by MyBatis Generator.
...
...
data-common/src/main/java/com/bailuntec/domain/entity/DcBasePurchaseDetails.java
View file @
b33b811d
...
...
@@ -64,6 +64,15 @@ public class DcBasePurchaseDetails {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.deliver_value
*
* @mbg.generated
*/
private
Integer
deliverValue
;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_base_purchase_details.buyer_name
*
* @mbg.generated
...
...
@@ -365,7 +374,7 @@ public class DcBasePurchaseDetails {
*
* @mbg.generated
*/
private
Boolean
isallot
;
private
Integer
isallot
;
/**
* This method was generated by MyBatis Generator.
...
...
@@ -385,6 +394,7 @@ public class DcBasePurchaseDetails {
sb
.
append
(
", purchaseCategoryName="
).
append
(
purchaseCategoryName
);
sb
.
append
(
", deliverId="
).
append
(
deliverId
);
sb
.
append
(
", deliverName="
).
append
(
deliverName
);
sb
.
append
(
", deliverValue="
).
append
(
deliverValue
);
sb
.
append
(
", buyerName="
).
append
(
buyerName
);
sb
.
append
(
", warehouseFromCode="
).
append
(
warehouseFromCode
);
sb
.
append
(
", warehouseFromName="
).
append
(
warehouseFromName
);
...
...
@@ -447,6 +457,7 @@ public class DcBasePurchaseDetails {
&&
(
this
.
getPurchaseCategoryName
()
==
null
?
other
.
getPurchaseCategoryName
()
==
null
:
this
.
getPurchaseCategoryName
().
equals
(
other
.
getPurchaseCategoryName
()))
&&
(
this
.
getDeliverId
()
==
null
?
other
.
getDeliverId
()
==
null
:
this
.
getDeliverId
().
equals
(
other
.
getDeliverId
()))
&&
(
this
.
getDeliverName
()
==
null
?
other
.
getDeliverName
()
==
null
:
this
.
getDeliverName
().
equals
(
other
.
getDeliverName
()))
&&
(
this
.
getDeliverValue
()
==
null
?
other
.
getDeliverValue
()
==
null
:
this
.
getDeliverValue
().
equals
(
other
.
getDeliverValue
()))
&&
(
this
.
getBuyerName
()
==
null
?
other
.
getBuyerName
()
==
null
:
this
.
getBuyerName
().
equals
(
other
.
getBuyerName
()))
&&
(
this
.
getWarehouseFromCode
()
==
null
?
other
.
getWarehouseFromCode
()
==
null
:
this
.
getWarehouseFromCode
().
equals
(
other
.
getWarehouseFromCode
()))
&&
(
this
.
getWarehouseFromName
()
==
null
?
other
.
getWarehouseFromName
()
==
null
:
this
.
getWarehouseFromName
().
equals
(
other
.
getWarehouseFromName
()))
...
...
@@ -499,6 +510,7 @@ public class DcBasePurchaseDetails {
result
=
prime
*
result
+
((
getPurchaseCategoryName
()
==
null
)
?
0
:
getPurchaseCategoryName
().
hashCode
());
result
=
prime
*
result
+
((
getDeliverId
()
==
null
)
?
0
:
getDeliverId
().
hashCode
());
result
=
prime
*
result
+
((
getDeliverName
()
==
null
)
?
0
:
getDeliverName
().
hashCode
());
result
=
prime
*
result
+
((
getDeliverValue
()
==
null
)
?
0
:
getDeliverValue
().
hashCode
());
result
=
prime
*
result
+
((
getBuyerName
()
==
null
)
?
0
:
getBuyerName
().
hashCode
());
result
=
prime
*
result
+
((
getWarehouseFromCode
()
==
null
)
?
0
:
getWarehouseFromCode
().
hashCode
());
result
=
prime
*
result
+
((
getWarehouseFromName
()
==
null
)
?
0
:
getWarehouseFromName
().
hashCode
());
...
...
data-common/src/main/java/com/bailuntec/domain/example/DcBasePurchaseDetailsExample.java
View file @
b33b811d
...
...
@@ -761,6 +761,66 @@ public class DcBasePurchaseDetailsExample {
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueIsNull
()
{
addCriterion
(
"deliver_value is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueIsNotNull
()
{
addCriterion
(
"deliver_value is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueEqualTo
(
Integer
value
)
{
addCriterion
(
"deliver_value ="
,
value
,
"deliverValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueNotEqualTo
(
Integer
value
)
{
addCriterion
(
"deliver_value <>"
,
value
,
"deliverValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueGreaterThan
(
Integer
value
)
{
addCriterion
(
"deliver_value >"
,
value
,
"deliverValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"deliver_value >="
,
value
,
"deliverValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueLessThan
(
Integer
value
)
{
addCriterion
(
"deliver_value <"
,
value
,
"deliverValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"deliver_value <="
,
value
,
"deliverValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"deliver_value in"
,
values
,
"deliverValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"deliver_value not in"
,
values
,
"deliverValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"deliver_value between"
,
value1
,
value2
,
"deliverValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeliverValueNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"deliver_value not between"
,
value1
,
value2
,
"deliverValue"
);
return
(
Criteria
)
this
;
}
public
Criteria
andBuyerNameIsNull
()
{
addCriterion
(
"buyer_name is null"
);
return
(
Criteria
)
this
;
...
...
@@ -2801,52 +2861,52 @@ public class DcBasePurchaseDetailsExample {
return
(
Criteria
)
this
;
}
public
Criteria
andIspushEqualTo
(
Boolean
value
)
{
public
Criteria
andIspushEqualTo
(
Integer
value
)
{
addCriterion
(
"ispush ="
,
value
,
"ispush"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIspushNotEqualTo
(
Boolean
value
)
{
public
Criteria
andIspushNotEqualTo
(
Integer
value
)
{
addCriterion
(
"ispush <>"
,
value
,
"ispush"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIspushGreaterThan
(
Boolean
value
)
{
public
Criteria
andIspushGreaterThan
(
Integer
value
)
{
addCriterion
(
"ispush >"
,
value
,
"ispush"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIspushGreaterThanOrEqualTo
(
Boolean
value
)
{
public
Criteria
andIspushGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ispush >="
,
value
,
"ispush"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIspushLessThan
(
Boolean
value
)
{
public
Criteria
andIspushLessThan
(
Integer
value
)
{
addCriterion
(
"ispush <"
,
value
,
"ispush"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIspushLessThanOrEqualTo
(
Boolean
value
)
{
public
Criteria
andIspushLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"ispush <="
,
value
,
"ispush"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIspushIn
(
List
<
Boolean
>
values
)
{
public
Criteria
andIspushIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ispush in"
,
values
,
"ispush"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIspushNotIn
(
List
<
Boolean
>
values
)
{
public
Criteria
andIspushNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"ispush not in"
,
values
,
"ispush"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIspushBetween
(
Boolean
value1
,
Boolean
value2
)
{
public
Criteria
andIspushBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ispush between"
,
value1
,
value2
,
"ispush"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIspushNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
public
Criteria
andIspushNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"ispush not between"
,
value1
,
value2
,
"ispush"
);
return
(
Criteria
)
this
;
}
...
...
@@ -2861,52 +2921,52 @@ public class DcBasePurchaseDetailsExample {
return
(
Criteria
)
this
;
}
public
Criteria
andIsallotEqualTo
(
Boolean
value
)
{
public
Criteria
andIsallotEqualTo
(
Integer
value
)
{
addCriterion
(
"isallot ="
,
value
,
"isallot"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsallotNotEqualTo
(
Boolean
value
)
{
public
Criteria
andIsallotNotEqualTo
(
Integer
value
)
{
addCriterion
(
"isallot <>"
,
value
,
"isallot"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsallotGreaterThan
(
Boolean
value
)
{
public
Criteria
andIsallotGreaterThan
(
Integer
value
)
{
addCriterion
(
"isallot >"
,
value
,
"isallot"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsallotGreaterThanOrEqualTo
(
Boolean
value
)
{
public
Criteria
andIsallotGreaterThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"isallot >="
,
value
,
"isallot"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsallotLessThan
(
Boolean
value
)
{
public
Criteria
andIsallotLessThan
(
Integer
value
)
{
addCriterion
(
"isallot <"
,
value
,
"isallot"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsallotLessThanOrEqualTo
(
Boolean
value
)
{
public
Criteria
andIsallotLessThanOrEqualTo
(
Integer
value
)
{
addCriterion
(
"isallot <="
,
value
,
"isallot"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsallotIn
(
List
<
Boolean
>
values
)
{
public
Criteria
andIsallotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"isallot in"
,
values
,
"isallot"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsallotNotIn
(
List
<
Boolean
>
values
)
{
public
Criteria
andIsallotNotIn
(
List
<
Integer
>
values
)
{
addCriterion
(
"isallot not in"
,
values
,
"isallot"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsallotBetween
(
Boolean
value1
,
Boolean
value2
)
{
public
Criteria
andIsallotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"isallot between"
,
value1
,
value2
,
"isallot"
);
return
(
Criteria
)
this
;
}
public
Criteria
andIsallotNotBetween
(
Boolean
value1
,
Boolean
value2
)
{
public
Criteria
andIsallotNotBetween
(
Integer
value1
,
Integer
value2
)
{
addCriterion
(
"isallot not between"
,
value1
,
value2
,
"isallot"
);
return
(
Criteria
)
this
;
}
...
...
data-common/src/main/java/com/bailuntec/mapper/DcBasePurchaseDetailsMapper.xml
View file @
b33b811d
This diff is collapsed.
Click to expand it.
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