diff --git a/src/main/java/com/zzjee/wm/controller/WmToMoveGoodsController.java b/src/main/java/com/zzjee/wm/controller/WmToMoveGoodsController.java index 2990aafe..77c638bf 100644 --- a/src/main/java/com/zzjee/wm/controller/WmToMoveGoodsController.java +++ b/src/main/java/com/zzjee/wm/controller/WmToMoveGoodsController.java @@ -174,7 +174,7 @@ public class WmToMoveGoodsController extends BaseController { WmToMoveGoodsEntity wmToMoveGoods = systemService.getEntity(WmToMoveGoodsEntity.class, id ); - wmToMoveGoods.setMoveSta(ResourceUtil.getConfigByName("moveStats")); + wmToMoveGoods.setMoveSta("已完成"); wmToMoveGoodsService.updateEntitie(wmToMoveGoods); systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO); } diff --git a/src/main/java/org/jeecgframework/web/system/sms/util/task/GoodsMoveTask.java b/src/main/java/org/jeecgframework/web/system/sms/util/task/GoodsMoveTask.java index cad33bd1..51c859bb 100644 --- a/src/main/java/org/jeecgframework/web/system/sms/util/task/GoodsMoveTask.java +++ b/src/main/java/org/jeecgframework/web/system/sms/util/task/GoodsMoveTask.java @@ -19,6 +19,8 @@ import org.springframework.stereotype.Service; import java.text.DecimalFormat; import java.util.*; +import static com.xiaoleilu.hutool.date.DateTime.now; + /** * * @ClassName:SmsSendTask 所有信息的发送定时任务类 @@ -89,6 +91,8 @@ public class GoodsMoveTask { WvStockEntity t = systemService.get(WvStockEntity.class,resulmovea.get(i).get("id").toString()); WmToMoveGoodsEntity wmtomove = new WmToMoveGoodsEntity(); + wmtomove.setCreateDate(now()); + wmtomove.setCreateBy("system"); wmtomove.setOrderTypeCode("TPZY"); wmtomove.setBinFrom(t.getKuWeiBianMa()); wmtomove.setBinTo(t.getKuWeiBianMa());