forked from integrated_whb/integrated_whb
整合other mq
parent
a1a8c85fb6
commit
da7145a1a1
|
@ -39,8 +39,6 @@ public class HeadController extends BaseController {
|
|||
private PhotoService photoService;
|
||||
@Autowired
|
||||
private FhsmsService fhsmsService;
|
||||
@Autowired
|
||||
private DatajurService datajurService;
|
||||
|
||||
/**保存用户皮肤
|
||||
* @return
|
||||
|
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue