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
b612396e
Commit
b612396e
authored
Nov 30, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周系数
parent
1efdef3b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
DcBaseWeekCoefficientMapper.xml
...java/com/bailuntec/mapper/DcBaseWeekCoefficientMapper.xml
+3
-1
SalesDayConfigMapper.xml
...c/main/java/com/bailuntec/mapper/SalesDayConfigMapper.xml
+2
-1
mybatis-config.xml
data-common/src/main/resources/mybatis-config.xml
+2
-2
AutoTurnoverTest.java
...ow/show-auto-turnover/src/test/java/AutoTurnoverTest.java
+2
-2
No files found.
data-common/src/main/java/com/bailuntec/mapper/DcBaseWeekCoefficientMapper.xml
View file @
b612396e
...
@@ -461,10 +461,12 @@
...
@@ -461,10 +461,12 @@
SELECT t2.*,t1.week_date from week_config t1
SELECT t2.*,t1.week_date from week_config t1
LEFT JOIN dc_base_week_coefficient t2
LEFT JOIN dc_base_week_coefficient t2
on t1.`week` = t2.`week` and t2.bailun_sku = #{bailunSku} and t2.warehouse_code = #{warehouseCode}
on t1.`week` = t2.`week` and t2.bailun_sku = #{bailunSku} and t2.warehouse_code = #{warehouseCode}
and
t1.week_date in
where
t1.week_date in
<foreach
close=
")"
collection=
"salesDetailItemList"
item=
"item"
open=
"("
separator=
","
>
<foreach
close=
")"
collection=
"salesDetailItemList"
item=
"item"
open=
"("
separator=
","
>
#{item.date}
#{item.date}
</foreach>
</foreach>
and t2.id is not null
</select>
</select>
</mapper>
</mapper>
data-common/src/main/java/com/bailuntec/mapper/SalesDayConfigMapper.xml
View file @
b612396e
...
@@ -540,10 +540,11 @@
...
@@ -540,10 +540,11 @@
SELECT * from week_config t1
SELECT * from week_config t1
LEFT JOIN sales_day_config t2
LEFT JOIN sales_day_config t2
on t1.`week_date` = t2.date and t2.bailun_sku = #{bailunSku} and t2.warehouse_code = #{warehouseCode}
on t1.`week_date` = t2.date and t2.bailun_sku = #{bailunSku} and t2.warehouse_code = #{warehouseCode}
and
t1.week_date in
where
t1.week_date in
<foreach
close=
")"
collection=
"salesDetailItemList"
item=
"item"
open=
"("
separator=
","
>
<foreach
close=
")"
collection=
"salesDetailItemList"
item=
"item"
open=
"("
separator=
","
>
#{item.date}
#{item.date}
</foreach>
</foreach>
and t2.id is not null
</select>
</select>
...
...
data-common/src/main/resources/mybatis-config.xml
View file @
b612396e
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<configuration>
<configuration>
<!--<properties resource="db-tj.properties"/>-->
<!--<properties resource="db-tj.properties"/>-->
<
!-- <properties resource="db-dev.properties"/>--
>
<
properties
resource=
"db-dev.properties"
/
>
<
properties
resource=
"db-prod.properties"
/
>
<
!-- <properties resource="db-prod.properties"/>--
>
<settings>
<settings>
<setting
name=
"mapUnderscoreToCamelCase"
value=
"true"
/>
<setting
name=
"mapUnderscoreToCamelCase"
value=
"true"
/>
</settings>
</settings>
...
...
data-show/show-auto-turnover/src/test/java/AutoTurnoverTest.java
View file @
b612396e
...
@@ -137,8 +137,8 @@ public class AutoTurnoverTest {
...
@@ -137,8 +137,8 @@ public class AutoTurnoverTest {
public
void
testXX
()
{
public
void
testXX
()
{
DcBaseStock
dcBaseStock
=
SessionUtil
.
getSession
().
getMapper
(
DcBaseStockMapper
.
class
)
DcBaseStock
dcBaseStock
=
SessionUtil
.
getSession
().
getMapper
(
DcBaseStockMapper
.
class
)
.
selectOneByExample
(
DcBaseStockExample
.
newAndCreateCriteria
()
.
selectOneByExample
(
DcBaseStockExample
.
newAndCreateCriteria
()
.
andBailunSkuEqualTo
(
"
LM-EO-007
"
)
.
andBailunSkuEqualTo
(
"
950136209
"
)
.
andWarehouseCodeEqualTo
(
"
MMDUSFBA
"
)
.
andWarehouseCodeEqualTo
(
"
GZBLWH
"
)
.
example
());
.
example
());
try
{
try
{
...
...
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