Commit fc9a2882 by yinyong

判断条件错误

parent 3ee5b686
...@@ -1083,7 +1083,7 @@ public class AutoTurnoverJob extends PointJob { ...@@ -1083,7 +1083,7 @@ public class AutoTurnoverJob extends PointJob {
* 先判断是否JIT 仓库是广州01 warehouse_code 且是那三个销售员 turnoversku * 先判断是否JIT 仓库是广州01 warehouse_code 且是那三个销售员 turnoversku
* *
*/ */
if (warehouseCode.equals(Constant.WAREHOUSE_JIT) && turnoverSku.getBuyerName().equals(Constant.BUYER_JIT_1) && turnoverSku.getBuyerName().equals(Constant.BUYER_JIT_2) && turnoverSku.getBuyerName().equals(Constant.BUYER_JIT_3)) { if (warehouseCode.equals(Constant.WAREHOUSE_JIT) && (turnoverSku.getBuyerName().equals(Constant.BUYER_JIT_1) || turnoverSku.getBuyerName().equals(Constant.BUYER_JIT_2) || turnoverSku.getBuyerName().equals(Constant.BUYER_JIT_3))) {
List<BigDecimal> historyThirtySalesList = JSON.parseObject(dcAutoSales.getHistorySalesDetails(), new TypeReference<List<BigDecimal>>() { List<BigDecimal> historyThirtySalesList = JSON.parseObject(dcAutoSales.getHistorySalesDetails(), new TypeReference<List<BigDecimal>>() {
}); });
BigDecimal weightingAvgSales = caculateWeightingAvgSales(BigDecimal.valueOf(0.3), BigDecimal.valueOf(0.3), BigDecimal.valueOf(0.4), historyThirtySalesList); BigDecimal weightingAvgSales = caculateWeightingAvgSales(BigDecimal.valueOf(0.3), BigDecimal.valueOf(0.3), BigDecimal.valueOf(0.4), historyThirtySalesList);
......
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