|
|
@@ -116,6 +116,28 @@ public class ReceiptService extends BaseService<RecPay> {
|
|
|
* @date : 2024-02-28 13:25
|
|
|
*/
|
|
|
@Pagination
|
|
|
+ public ResponseResultVO selectById(String id) {
|
|
|
+ Map<String, Object> result = new HashMap<>();
|
|
|
+ RecPayResponse recPayResponse = recPayMapper.selectById(id);
|
|
|
+ result.put("data", recPayResponse);
|
|
|
+ // 收款明细
|
|
|
+ List<RecPayItemResponse> recPayItem = recPayItemMapper.selectByCond(new RecPayItemQuery().setRpId(id));
|
|
|
+ result.put("recPayItem", recPayItem);
|
|
|
+
|
|
|
+ // 应收核销明细
|
|
|
+ List<RecPayHandleItemResponse> recPayHandleItem = recPayHandleItemMapper.selectByCond(new RecPayHandleItemQuery().setRpId(id));
|
|
|
+ result.put("recPayHandleItem", recPayHandleItem);
|
|
|
+
|
|
|
+ // 附件
|
|
|
+ return ResponseResultUtil.success(result);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @desc : 查询收款明细
|
|
|
+ * @author : 付斌
|
|
|
+ * @date : 2024-02-28 13:25
|
|
|
+ */
|
|
|
+ @Pagination
|
|
|
public ResponseResultVO<Map<String, Object>> selectRpInfoById(String id) {
|
|
|
Map<String, Object> result = new HashMap<>();
|
|
|
// 收款明细
|