Commit 3887f5ba authored by maqing's avatar maqing

机构和评估的详情接口

parent c8188a36
...@@ -164,26 +164,26 @@ public class AccountController { ...@@ -164,26 +164,26 @@ public class AccountController {
} }
/** /**
* 查询结算信息列表明细 * 评估人员结算列表明细
* *
* @param id 结算id * @param id 结算id
* @return 返回雷彪 * @return 返回雷彪
*/ */
@GetMapping("/QueryDisabOrganAccountsDetail") @GetMapping("/QueryDisabOrganAccountsDetail")
public Result<ChAssessDetailAccounts> QueryDisabOrganAccountsDetail(int id) { public Result<List<ChAssessDetailAccounts>> QueryDisabOrganAccountsDetail(int id) {
ChAssessDetailAccounts chAssessDetailAccounts = accountService.queryDisabOrganAccountsDetail(id); List<ChAssessDetailAccounts> chAssessDetailAccounts = accountService.queryDisabOrganAccountsDetail(id);
return Result.success(chAssessDetailAccounts); return Result.success(chAssessDetailAccounts);
} }
/** /**
* 评估人员结算列表明细 * 查询机构结算信息列表明细
* *
* @param id 结算id * @param id 结算id
* @return 返回雷彪 * @return 返回雷彪
*/ */
@GetMapping("/QuerySearchAssessAccounts") @GetMapping("/QuerySearchAssessAccounts")
public Result<ChDisabDetailAccounts> QuerySearchAssessAccounts(int id) { public Result<List<ChDisabDetailAccounts>> QuerySearchAssessAccounts(int id) {
ChDisabDetailAccounts chAssessDetailAccounts = accountService.querySearchAssessAccounts(id); List<ChDisabDetailAccounts> chAssessDetailAccounts = accountService.querySearchAssessAccounts(id);
return Result.success(chAssessDetailAccounts); return Result.success(chAssessDetailAccounts);
} }
......
...@@ -9,6 +9,7 @@ import com.hungraim.ltc.pojo.vo.account.*; ...@@ -9,6 +9,7 @@ import com.hungraim.ltc.pojo.vo.account.*;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import java.text.ParseException; import java.text.ParseException;
import java.util.List;
public interface AccountService extends IService<ChDisabAccounts> { public interface AccountService extends IService<ChDisabAccounts> {
...@@ -40,9 +41,9 @@ public interface AccountService extends IService<ChDisabAccounts> { ...@@ -40,9 +41,9 @@ public interface AccountService extends IService<ChDisabAccounts> {
* @param id * @param id
* @return * @return
*/ */
ChAssessDetailAccounts queryDisabOrganAccountsDetail(int id); List<ChAssessDetailAccounts> queryDisabOrganAccountsDetail(int id);
ChDisabDetailAccounts querySearchAssessAccounts(int id); List<ChDisabDetailAccounts> querySearchAssessAccounts(int id);
int updateChDisabAccounts(int id); int updateChDisabAccounts(int id);
......
...@@ -636,17 +636,17 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis ...@@ -636,17 +636,17 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
} }
@Override @Override
public ChAssessDetailAccounts queryDisabOrganAccountsDetail(int id) { public List<ChAssessDetailAccounts> queryDisabOrganAccountsDetail(int id) {
QueryWrapper<ChAssessDetailAccounts> queryWrapper = new QueryWrapper<>(); QueryWrapper<ChAssessDetailAccounts> queryWrapper = new QueryWrapper<>();
queryWrapper.select("assessAccountsId").eq("assessAccountsId",id); queryWrapper.eq("ASSESS_ACCOUNTS_ID",id);
return chAssessDetailAccountsMapper.selectOne(queryWrapper); return chAssessDetailAccountsMapper.selectList(queryWrapper);
} }
@Override @Override
public ChDisabDetailAccounts querySearchAssessAccounts(int id) { public List<ChDisabDetailAccounts> querySearchAssessAccounts(int id) {
QueryWrapper<ChDisabDetailAccounts> queryWrapper = new QueryWrapper<>(); QueryWrapper<ChDisabDetailAccounts> queryWrapper = new QueryWrapper<>();
queryWrapper.select("assessAccountsId").eq("assessAccountsId",id); queryWrapper.eq("ACCOUNTS_ID",id);
return chDisabDetailAccountsMapper.selectOne(queryWrapper); return chDisabDetailAccountsMapper.selectList(queryWrapper);
} }
@Override @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