...
|
...
|
@@ -80,7 +80,7 @@ public abstract class AbstractSellerAdjustPriceTaskHandler extends AbstractSelle |
|
|
@Override
|
|
|
public Integer call() throws Exception {
|
|
|
try {
|
|
|
log.info("[{}-{}-{}] handle before sellerOrder:{},\nbefore sellerOrderGoods:{},\nafter earnestMoney:{},after income:{}",
|
|
|
log.info("[{}-{}-{}] handle before sellerOrder:{},before sellerOrderGoods:{},after earnestMoney:{},after income:{}",
|
|
|
uid, taskId, skupDto.getSkup(),
|
|
|
skupDto.getSellerOrder(),
|
|
|
skupDto.getSellerOrderGoods(),
|
...
|
...
|
@@ -99,7 +99,6 @@ public abstract class AbstractSellerAdjustPriceTaskHandler extends AbstractSelle |
|
|
|
|
|
@Transactional
|
|
|
@Component
|
|
|
@Database(ForceMaster=true, DataSource="ufo_order")
|
|
|
public static class SkupAdjustPriceDBService {
|
|
|
|
|
|
@Autowired
|
...
|
...
|
@@ -115,8 +114,8 @@ public abstract class AbstractSellerAdjustPriceTaskHandler extends AbstractSelle |
|
|
private SellerTaskDetailMapper sellerTaskDetailMapper;
|
|
|
|
|
|
@Transactional
|
|
|
@Database(ForceMaster=true, DataSource="ufo_order")
|
|
|
public void update(long taskId, BigDecimal newPrice, BigDecimal diffEarnestMoney, SellerOrderComputeResult computeResult, SkupDto skupDto) {
|
|
|
|
|
|
SellerOrderGoods sellerOrderGoods = skupDto.getSellerOrderGoods();
|
|
|
List<Integer> skups = Lists.newArrayList(sellerOrderGoods.getId());
|
|
|
//sell_order_goods(价格)
|
...
|
...
|
|