整合other mq

master
fangjiakai 2024-01-05 10:06:26 +08:00
parent a1a8c85fb6
commit da7145a1a1
4 changed files with 0 additions and 132 deletions

View File

@ -39,8 +39,6 @@ public class HeadController extends BaseController {
private PhotoService photoService; private PhotoService photoService;
@Autowired @Autowired
private FhsmsService fhsmsService; private FhsmsService fhsmsService;
@Autowired
private DatajurService datajurService;
/** /**
* @return * @return

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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);
}
}