Commit 3887f5ba authored by maqing's avatar maqing

机构和评估的详情接口

parent c8188a36
......@@ -164,26 +164,26 @@ public class AccountController {
}
/**
* 查询结算信息列表明细
* 评估人员结算列表明细
*
* @param id 结算id
* @return 返回雷彪
*/
@GetMapping("/QueryDisabOrganAccountsDetail")
public Result<ChAssessDetailAccounts> QueryDisabOrganAccountsDetail(int id) {
ChAssessDetailAccounts chAssessDetailAccounts = accountService.queryDisabOrganAccountsDetail(id);
public Result<List<ChAssessDetailAccounts>> QueryDisabOrganAccountsDetail(int id) {
List<ChAssessDetailAccounts> chAssessDetailAccounts = accountService.queryDisabOrganAccountsDetail(id);
return Result.success(chAssessDetailAccounts);
}
/**
* 评估人员结算列表明细
* 查询机构结算信息列表明细
*
* @param id 结算id
* @return 返回雷彪
*/
@GetMapping("/QuerySearchAssessAccounts")
public Result<ChDisabDetailAccounts> QuerySearchAssessAccounts(int id) {
ChDisabDetailAccounts chAssessDetailAccounts = accountService.querySearchAssessAccounts(id);
public Result<List<ChDisabDetailAccounts>> QuerySearchAssessAccounts(int id) {
List<ChDisabDetailAccounts> chAssessDetailAccounts = accountService.querySearchAssessAccounts(id);
return Result.success(chAssessDetailAccounts);
}
......
......@@ -9,6 +9,7 @@ import com.hungraim.ltc.pojo.vo.account.*;
import org.apache.poi.ss.usermodel.Workbook;
import java.text.ParseException;
import java.util.List;
public interface AccountService extends IService<ChDisabAccounts> {
......@@ -40,9 +41,9 @@ public interface AccountService extends IService<ChDisabAccounts> {
* @param id
* @return
*/
ChAssessDetailAccounts queryDisabOrganAccountsDetail(int id);
List<ChAssessDetailAccounts> queryDisabOrganAccountsDetail(int id);
ChDisabDetailAccounts querySearchAssessAccounts(int id);
List<ChDisabDetailAccounts> querySearchAssessAccounts(int id);
int updateChDisabAccounts(int id);
......
......@@ -636,17 +636,17 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
}
@Override
public ChAssessDetailAccounts queryDisabOrganAccountsDetail(int id) {
public List<ChAssessDetailAccounts> queryDisabOrganAccountsDetail(int id) {
QueryWrapper<ChAssessDetailAccounts> queryWrapper = new QueryWrapper<>();
queryWrapper.select("assessAccountsId").eq("assessAccountsId",id);
return chAssessDetailAccountsMapper.selectOne(queryWrapper);
queryWrapper.eq("ASSESS_ACCOUNTS_ID",id);
return chAssessDetailAccountsMapper.selectList(queryWrapper);
}
@Override
public ChDisabDetailAccounts querySearchAssessAccounts(int id) {
public List<ChDisabDetailAccounts> querySearchAssessAccounts(int id) {
QueryWrapper<ChDisabDetailAccounts> queryWrapper = new QueryWrapper<>();
queryWrapper.select("assessAccountsId").eq("assessAccountsId",id);
return chDisabDetailAccountsMapper.selectOne(queryWrapper);
queryWrapper.eq("ACCOUNTS_ID",id);
return chDisabDetailAccountsMapper.selectList(queryWrapper);
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment