|
|
@@ -4,10 +4,7 @@ import com.goafanti.ambSystem.bo.AmbAll;
|
|
|
import com.goafanti.ambSystem.bo.InputAmb;
|
|
|
import com.goafanti.ambSystem.bo.OutAmb;
|
|
|
import com.goafanti.ambSystem.service.AmbService;
|
|
|
-import com.goafanti.common.dao.AdminMapper;
|
|
|
-import com.goafanti.common.dao.AmbInvestLogMapper;
|
|
|
-import com.goafanti.common.dao.AmbInvestMapper;
|
|
|
-import com.goafanti.common.dao.AmbSystemMapper;
|
|
|
+import com.goafanti.common.dao.*;
|
|
|
import com.goafanti.common.error.BusinessException;
|
|
|
import com.goafanti.common.model.Admin;
|
|
|
import com.goafanti.common.model.AmbSystem;
|
|
|
@@ -33,6 +30,8 @@ public class AmbServiceImpl extends BaseMybatisDao<AmbSystemMapper> implements A
|
|
|
private AmbInvestLogMapper ambInvestLogMapper;
|
|
|
@Autowired
|
|
|
private AmbInvestMapper ambInvestMapper;
|
|
|
+ @Autowired
|
|
|
+ private RoleMapper roleMapper;
|
|
|
|
|
|
|
|
|
@Override
|
|
|
@@ -66,6 +65,7 @@ public class AmbServiceImpl extends BaseMybatisDao<AmbSystemMapper> implements A
|
|
|
if (in.getName()!=null&&!in.getName().equals(use.getName())){
|
|
|
i=updateAncestorsNames(in,use.getName(),i);
|
|
|
}
|
|
|
+
|
|
|
in.setUpdateBy(TokenManager.getAdminId());
|
|
|
in.setUpdateTime(new Date());
|
|
|
ambSystemMapper.updateByPrimaryKeySelective(in);
|