|
@@ -134,8 +134,8 @@ public class WorkServiceImpl extends IBaseServiceImpl<WorkEntity, Long> implemen
|
|
|
entity.setCreateTime(date);
|
|
|
entity.setUpdateTime(date);
|
|
|
|
|
|
- entityMapper.insertWork(entity);
|
|
|
-// this.save(entity);
|
|
|
+// entityMapper.insertWork(entity);
|
|
|
+ this.save(entity);
|
|
|
|
|
|
Long id = entity.getId();
|
|
|
log.info("创建对象完成: {}", id);
|