Commit b612396e by huluobin

周系数

parent 1efdef3b
......@@ -461,10 +461,12 @@
SELECT t2.*,t1.week_date from week_config t1
LEFT JOIN dc_base_week_coefficient t2
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=",">
#{item.date}
</foreach>
and t2.id is not null
</select>
</mapper>
......@@ -540,10 +540,11 @@
SELECT * from week_config t1
LEFT JOIN sales_day_config t2
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=",">
#{item.date}
</foreach>
and t2.id is not null
</select>
......
......@@ -5,8 +5,8 @@
<configuration>
<!--<properties resource="db-tj.properties"/>-->
<!-- <properties resource="db-dev.properties"/>-->
<properties resource="db-prod.properties"/>
<properties resource="db-dev.properties"/>
<!-- <properties resource="db-prod.properties"/>-->
<settings>
<setting name="mapUnderscoreToCamelCase" value="true"/>
</settings>
......
......@@ -137,8 +137,8 @@ public class AutoTurnoverTest {
public void testXX() {
DcBaseStock dcBaseStock = SessionUtil.getSession().getMapper(DcBaseStockMapper.class)
.selectOneByExample(DcBaseStockExample.newAndCreateCriteria()
.andBailunSkuEqualTo("LM-EO-007")
.andWarehouseCodeEqualTo("MMDUSFBA")
.andBailunSkuEqualTo("950136209")
.andWarehouseCodeEqualTo("GZBLWH")
.example());
try {
......
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