Browse Source

新增task、order 目录

wangbo 4 năm trước cách đây
mục cha
commit
836a47a75c

+ 4 - 3
operation_manager/src/main/java/com/huaxu/task/service/impl/PlanManageServiceImpl.java

@@ -1,5 +1,6 @@
 package com.huaxu.task.service.impl;
 
+import com.huaxu.task.dao.PlanManageMapper;
 import com.huaxu.task.entity.PlanManage;
 import com.huaxu.task.service.PlanManageService;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -9,16 +10,16 @@ import org.springframework.stereotype.Service;
 public class PlanManageServiceImpl implements PlanManageService {
 
     @Autowired
-    private PlanManageService planManageService;
+    private PlanManageMapper planManageMapper;
 
     @Override
     public int insertSelective(PlanManage record) {
-        return planManageService.insertSelective(record);
+        return planManageMapper.insertSelective(record);
     }
 
     @Override
     public int updateByPrimaryKeySelective(PlanManage record) {
-        return planManageService.updateByPrimaryKeySelective(record);
+        return planManageMapper.updateByPrimaryKeySelective(record);
     }