批量转移增加创建日期
parent
d6deeb9e2a
commit
8f825c326e
|
@ -174,7 +174,7 @@ public class WmToMoveGoodsController extends BaseController {
|
||||||
WmToMoveGoodsEntity wmToMoveGoods = systemService.getEntity(WmToMoveGoodsEntity.class,
|
WmToMoveGoodsEntity wmToMoveGoods = systemService.getEntity(WmToMoveGoodsEntity.class,
|
||||||
id
|
id
|
||||||
);
|
);
|
||||||
wmToMoveGoods.setMoveSta(ResourceUtil.getConfigByName("moveStats"));
|
wmToMoveGoods.setMoveSta("已完成");
|
||||||
wmToMoveGoodsService.updateEntitie(wmToMoveGoods);
|
wmToMoveGoodsService.updateEntitie(wmToMoveGoods);
|
||||||
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
|
systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,8 @@ import org.springframework.stereotype.Service;
|
||||||
import java.text.DecimalFormat;
|
import java.text.DecimalFormat;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
import static com.xiaoleilu.hutool.date.DateTime.now;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @ClassName:SmsSendTask 所有信息的发送定时任务类
|
* @ClassName:SmsSendTask 所有信息的发送定时任务类
|
||||||
|
@ -89,6 +91,8 @@ public class GoodsMoveTask {
|
||||||
WvStockEntity t = systemService.get(WvStockEntity.class,resulmovea.get(i).get("id").toString());
|
WvStockEntity t = systemService.get(WvStockEntity.class,resulmovea.get(i).get("id").toString());
|
||||||
|
|
||||||
WmToMoveGoodsEntity wmtomove = new WmToMoveGoodsEntity();
|
WmToMoveGoodsEntity wmtomove = new WmToMoveGoodsEntity();
|
||||||
|
wmtomove.setCreateDate(now());
|
||||||
|
wmtomove.setCreateBy("system");
|
||||||
wmtomove.setOrderTypeCode("TPZY");
|
wmtomove.setOrderTypeCode("TPZY");
|
||||||
wmtomove.setBinFrom(t.getKuWeiBianMa());
|
wmtomove.setBinFrom(t.getKuWeiBianMa());
|
||||||
wmtomove.setBinTo(t.getKuWeiBianMa());
|
wmtomove.setBinTo(t.getKuWeiBianMa());
|
||||||
|
|
Loading…
Reference in New Issue