Commit c8d369ff by zhiwj

门店批量插入任务

parent 19d81797
......@@ -67,6 +67,7 @@ public class StoreTaskServiceImpl extends AbstractTaskAllocationOperation implem
@Override
public void dealSingle(Object o) throws TaskAllocationException {
logger.info("开始执行队列");
StoreTmpDTO t = (StoreTmpDTO) o;
try {
this.importDataToStore(t);
......@@ -78,6 +79,7 @@ public class StoreTaskServiceImpl extends AbstractTaskAllocationOperation implem
}
public void importDataToStore(StoreTmpDTO t) {
logger.info("开始执行队列:id ==>{}", t.getStoreTmpId());
StoreDTO storeDTO = new StoreDTO();
storeDTO.setEnterpriseId(t.getEnterpriseId());
storeDTO.setStoreName(t.getStoreName());
......
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