diff --git a/src/main/java/com/zcloud/controller/system/HeadController.java b/src/main/java/com/zcloud/controller/system/HeadController.java index 82eb385..8a5fd6b 100644 --- a/src/main/java/com/zcloud/controller/system/HeadController.java +++ b/src/main/java/com/zcloud/controller/system/HeadController.java @@ -39,8 +39,6 @@ public class HeadController extends BaseController { private PhotoService photoService; @Autowired private FhsmsService fhsmsService; - @Autowired - private DatajurService datajurService; /**保存用户皮肤 * @return diff --git a/src/main/java/com/zcloud/mapper/datasource/system/DatajurMapper.java b/src/main/java/com/zcloud/mapper/datasource/system/DatajurMapper.java deleted file mode 100644 index 7406330..0000000 --- a/src/main/java/com/zcloud/mapper/datasource/system/DatajurMapper.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.zcloud.mapper.datasource.system; - -import com.zcloud.entity.PageData; - -/** - * 说明: 组织数据权限Mapper - * 作者:luoxiaobao - * 官网:www.qdkjchina.com - */ -public interface DatajurMapper{ - - /**新增 - * @param pd - * @throws Exception - */ - public void save(PageData pd)throws Exception; - - /**修改 - * @param pd - * @throws Exception - */ - public void edit(PageData pd)throws Exception; - - /**通过id获取数据 - * @param pd - * @throws Exception - */ - public PageData findById(PageData pd)throws Exception; - - /**取出某用户的组织数据权限 - * @param pd - * @throws Exception - */ - public PageData getDEPARTMENT_IDS(String USERNAME)throws Exception; - -} - diff --git a/src/main/java/com/zcloud/service/system/DatajurService.java b/src/main/java/com/zcloud/service/system/DatajurService.java deleted file mode 100644 index 8789b02..0000000 --- a/src/main/java/com/zcloud/service/system/DatajurService.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.zcloud.service.system; - -import com.zcloud.entity.PageData; - -/** - * 说明: 组织数据权限接口 - * 作者:luoxiaobao - * 官网:www.qdkjchina.com - */ -public interface DatajurService{ - - /**新增 - * @param pd - * @throws Exception - */ - public void save(PageData pd)throws Exception; - - /**修改 - * @param pd - * @throws Exception - */ - public void edit(PageData pd)throws Exception; - - /**通过id获取数据 - * @param pd - * @throws Exception - */ - public PageData findById(PageData pd)throws Exception; - - /**取出某用户的组织数据权限 - * @param pd - * @throws Exception - */ - public PageData getDEPARTMENT_IDS(String USERNAME)throws Exception; - -} - diff --git a/src/main/java/com/zcloud/service/system/impl/DatajurServiceImpl.java b/src/main/java/com/zcloud/service/system/impl/DatajurServiceImpl.java deleted file mode 100644 index 6868cad..0000000 --- a/src/main/java/com/zcloud/service/system/impl/DatajurServiceImpl.java +++ /dev/null @@ -1,56 +0,0 @@ -package com.zcloud.service.system.impl; - -import com.zcloud.entity.PageData; -import com.zcloud.mapper.datasource.system.DatajurMapper; -import com.zcloud.service.system.DatajurService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import org.springframework.transaction.annotation.Transactional; - -/** - * 说明: 组织数据权限表 - * 作者:luoxiaobao - * 官网:www.qdkjchina.com - */ -@Service(value="datajurService") -@Transactional //开启事物 -public class DatajurServiceImpl implements DatajurService { - - @Autowired - private DatajurMapper datajurMapper; - - /**新增 - * @param pd - * @throws Exception - */ - public void save(PageData pd)throws Exception{ - datajurMapper.save( pd); - } - - /**修改 - * @param pd - * @throws Exception - */ - public void edit(PageData pd)throws Exception{ - datajurMapper.edit(pd); - } - - - /**通过id获取数据 - * @param pd - * @throws Exception - */ - public PageData findById(PageData pd)throws Exception{ - return (PageData)datajurMapper.findById(pd); - } - - /**取出某用户的组织数据权限 - * @param pd - * @throws Exception - */ - public PageData getDEPARTMENT_IDS(String USERNAME)throws Exception{ - return (PageData)datajurMapper.getDEPARTMENT_IDS(USERNAME); - } - -} -