From dd6687b118561100e1677e88a9c2f5842a54c531 Mon Sep 17 00:00:00 2001
From: jialh <1972868360@qq.com>
Date: 星期四, 16 四月 2026 18:14:14 +0800
Subject: [PATCH] 水电话费

---
 service-fee/src/main/java/com/java110/fee/api/contract/ContractAmountDetailApi.java |  470 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 235 insertions(+), 235 deletions(-)

diff --git a/service-fee/src/main/java/com/java110/fee/api/contract/ContractAmountDetailApi.java b/service-fee/src/main/java/com/java110/fee/api/contract/ContractAmountDetailApi.java
index cd58e7f..29e6b74 100644
--- a/service-fee/src/main/java/com/java110/fee/api/contract/ContractAmountDetailApi.java
+++ b/service-fee/src/main/java/com/java110/fee/api/contract/ContractAmountDetailApi.java
@@ -1,235 +1,235 @@
-package com.java110.fee.api.contract;
-
-import com.alibaba.fastjson.JSONObject;
-import com.java110.dto.contract.ContractAmountDetailDto;
-import com.java110.utils.util.Assert;
-import com.java110.utils.util.BeanConvertUtil;
-import org.mybatis.spring.SqlSessionTemplate;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.*;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-/**
- * 鍚堝悓閲戦鏄庣粏淇℃伅鎺ュ彛
- * 閫傞厤 contract_amount_detail 琛�
- * @author dev
- * @date 2025-12-24
- */
-@RestController
-@RequestMapping(value = "/contractAmountDetail")
-public class ContractAmountDetailApi {
-
-    @Autowired
-    protected SqlSessionTemplate sqlSessionTemplate;
-
-    /**
-     * 淇濆瓨鍚堝悓閲戦鏄庣粏淇℃伅
-     *
-     * @param reqJson 璇锋眰鍙傛暟
-     * @return 鍝嶅簲缁撴灉
-     * @serviceCode /contractAmountDetail/saveContractAmountDetail
-     * @path /app/contractAmountDetail/saveContractAmountDetail
-     */
-    @RequestMapping(value = "/saveContractAmountDetail", method = RequestMethod.POST)
-    public ResponseEntity<String> saveContractAmountDetail(@RequestBody JSONObject reqJson) {
-        // 鏍稿績鍙傛暟鏍¢獙
-        Assert.hasKeyAndValue(reqJson, "contractId", "璇锋眰鎶ユ枃涓湭鍖呭惈鍚堝悓ID");
-
-        // 杞崲涓篋TO
-        ContractAmountDetailDto dto = BeanConvertUtil.covertBean(reqJson, ContractAmountDetailDto.class);
-
-        // 璋冪敤Mapper淇濆瓨鏂规硶
-        int insert = sqlSessionTemplate.insert("contractAmountDetailDaoImpl.saveContractAmountDetail",
-                BeanConvertUtil.beanCovertMap(dto));
-
-        // 鏋勯�犲搷搴旂粨鏋�
-        JSONObject resJson = new JSONObject();
-        if (insert > 0) {
-            resJson.put("code", "0000");
-            resJson.put("msg", "淇濆瓨鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
-        } else {
-            resJson.put("code", "0001");
-            resJson.put("msg", "淇濆瓨鍚堝悓閲戦鏄庣粏淇℃伅澶辫触");
-        }
-        resJson.put("count", insert);
-        return ResponseEntity.ok(resJson.toJSONString());
-    }
-
-    /**
-     * 閲嶈浇淇濆瓨鏂规硶锛堝叆鍙備负DTO锛�
-     */
-    public ResponseEntity<String> saveContractAmountDetail(ContractAmountDetailDto dto) {
-        int insert = sqlSessionTemplate.insert("contractAmountDetailDaoImpl.saveContractAmountDetail",
-                BeanConvertUtil.beanCovertMap(dto));
-
-        JSONObject resJson = new JSONObject();
-        if (insert > 0) {
-            resJson.put("code", "0000");
-            resJson.put("msg", "淇濆瓨鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
-        } else {
-            resJson.put("code", "0001");
-            resJson.put("msg", "淇濆瓨鍚堝悓閲戦鏄庣粏淇℃伅澶辫触");
-        }
-        resJson.put("count", insert);
-        return ResponseEntity.ok(resJson.toJSONString());
-    }
-
-    /**
-     * 淇敼鍚堝悓閲戦鏄庣粏淇℃伅
-     *
-     * @param reqJson 璇锋眰鍙傛暟
-     * @return 鍝嶅簲缁撴灉
-     * @serviceCode /contractAmountDetail/updateContractAmountDetail
-     * @path /app/contractAmountDetail/updateContractAmountDetail
-     */
-    @RequestMapping(value = "/updateContractAmountDetail", method = RequestMethod.POST)
-    public ResponseEntity<String> updateContractAmountDetail(@RequestBody JSONObject reqJson) {
-        // 涓婚敭/鍚堝悓ID鏍¢獙锛堜簩閫変竴锛�
-        Assert.hasKey(reqJson, "id", "璇锋眰鎶ユ枃涓湭鍖呭惈涓婚敭ID");
-        Assert.hasKey(reqJson, "contractId", "璇锋眰鎶ユ枃涓湭鍖呭惈鍚堝悓ID");
-
-        ContractAmountDetailDto dto = BeanConvertUtil.covertBean(reqJson, ContractAmountDetailDto.class);
-
-        // 璋冪敤Mapper淇敼鏂规硶
-        int update = sqlSessionTemplate.update("contractAmountDetailDaoImpl.updateContractAmountDetail",
-                BeanConvertUtil.beanCovertMap(dto));
-
-        JSONObject resJson = new JSONObject();
-        if (update > 0) {
-            resJson.put("code", "0000");
-            resJson.put("msg", "淇敼鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
-        } else {
-            resJson.put("code", "0001");
-            resJson.put("msg", "淇敼鍚堝悓閲戦鏄庣粏淇℃伅澶辫触锛屾湭鎵惧埌瀵瑰簲璁板綍");
-        }
-        resJson.put("count", update);
-        return ResponseEntity.ok(resJson.toJSONString());
-    }
-
-    /**
-     * 鍒嗛〉鏌ヨ鍚堝悓閲戦鏄庣粏淇℃伅鍒楄〃
-     *
-     * @param id                      涓婚敭ID锛堝彲閫夛級
-     * @param contractId              鍚堝悓ID锛堝彲閫夛級
-     * @param totalContractAmount     鍚堝悓鎬婚噾棰濓紙鍙�夛級
-     * @param unitPrice               鍗曚环锛堝彲閫夛級
-     * @param accountInfo             璐︽埛淇℃伅锛堝彲閫夛級
-     * @param mainMeterNo             涓昏〃缂栧彿锛堝彲閫夛級
-     * @param paymentRemark           浠樻澶囨敞锛堝彲閫夛級
-     * @param page                    椤电爜锛堥粯璁�1锛�
-     * @param row                     姣忛〉鏉℃暟锛堥粯璁�10锛�
-     * @return 鍝嶅簲缁撴灉
-     * @serviceCode /contractAmountDetail/queryContractAmountDetail
-     * @path /app/contractAmountDetail/queryContractAmountDetail
-     */
-    @RequestMapping(value = "/queryContractAmountDetail", method = RequestMethod.GET)
-    public ResponseEntity<String> queryContractAmountDetail(
-            @RequestParam(value = "id", required = false) String id,
-            @RequestParam(value = "contractId", required = false) String contractId,
-            @RequestParam(value = "totalContractAmount", required = false) String totalContractAmount,
-            @RequestParam(value = "unitPrice", required = false) String unitPrice,
-            @RequestParam(value = "accountInfo", required = false) String accountInfo,
-            @RequestParam(value = "mainMeterNo", required = false) String mainMeterNo,
-            @RequestParam(value = "paymentRemark", required = false) String paymentRemark,
-            @RequestParam(value = "page", defaultValue = "1") int page,
-            @RequestParam(value = "row", defaultValue = "10") int row) {
-
-        // 灏佽鏌ヨ鍙傛暟
-        ContractAmountDetailDto queryDto = new ContractAmountDetailDto();
-        queryDto.setId(Integer.parseInt(id));
-        queryDto.setContractId(contractId);
-        queryDto.setTotalContractAmount(totalContractAmount);
-        queryDto.setUnitPrice(unitPrice);
-        queryDto.setAccountInfo(accountInfo);
-        queryDto.setMainMeterNo(mainMeterNo);
-        queryDto.setPaymentRemark(paymentRemark);
-        queryDto.setPage((page - 1) * row);
-        queryDto.setRow(row);
-
-        // 鏌ヨ鍒楄〃鏁版嵁
-        List<Map<String, Object>> list = sqlSessionTemplate.selectList(
-                "contractAmountDetailDaoImpl.getContractAmountDetail",
-                BeanConvertUtil.beanCovertMap(queryDto));
-
-        // 鏌ヨ鎬绘暟
-        Object total = ((HashMap) sqlSessionTemplate.selectOne(
-                "contractAmountDetailDaoImpl.queryContractAmountDetailsCount",
-                BeanConvertUtil.beanCovertMap(queryDto))).get("count");
-
-        // 鏋勯�犲垎椤靛搷搴�
-        JSONObject resJson = new JSONObject();
-        resJson.put("code", "0000");
-        resJson.put("msg", "鏌ヨ鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
-        resJson.put("page", page);
-        resJson.put("row", row);
-        resJson.put("total", total);
-        resJson.put("data", list);
-
-        return ResponseEntity.ok(resJson.toJSONString());
-    }
-
-    /**
-     * 鏍规嵁ID鏌ヨ鍗曟潯鍚堝悓閲戦鏄庣粏淇℃伅
-     *
-     * @param id 涓婚敭ID
-     * @return 鍝嶅簲缁撴灉
-     * @serviceCode /contractAmountDetail/getContractAmountDetailById
-     * @path /app/contractAmountDetail/getContractAmountDetailById
-     */
-    @RequestMapping(value = "/getContractAmountDetailById", method = RequestMethod.GET)
-    public ResponseEntity<String> getContractAmountDetailById(@RequestParam(value = "id") Integer id) {
-        // 涓婚敭鏍¢獙
-        Assert.notNull(id, "涓婚敭ID涓嶈兘涓虹┖");
-
-        ContractAmountDetailDto queryDto = new ContractAmountDetailDto();
-        queryDto.setId(id);
-
-        // 鏌ヨ鍗曟潯鏁版嵁
-        Map<String, Object> result = sqlSessionTemplate.selectOne(
-                "contractAmountDetailDaoImpl.getContractAmountDetail",
-                BeanConvertUtil.beanCovertMap(queryDto));
-
-        JSONObject resJson = new JSONObject();
-        if (result != null) {
-            resJson.put("code", "0000");
-            resJson.put("msg", "鏌ヨ鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
-            resJson.put("data", result);
-        } else {
-            resJson.put("code", "0001");
-            resJson.put("msg", "鏈壘鍒板搴斿悎鍚岄噾棰濇槑缁嗚褰�");
-        }
-
-        return ResponseEntity.ok(resJson.toJSONString());
-    }
-
-    /**
-     * 鏍规嵁鍚堝悓ID鏌ヨ鍚堝悓閲戦鏄庣粏淇℃伅
-     *
-     * @param contractId 鍚堝悓ID
-     * @return 鍝嶅簲缁撴灉
-     * @serviceCode /contractAmountDetail/getContractAmountDetailByContractId
-     * @path /app/contractAmountDetail/getContractAmountDetailByContractId
-     */
-    @RequestMapping(value = "/getContractAmountDetailByContractId", method = RequestMethod.GET)
-    public ResponseEntity<String> getContractAmountDetailByContractId(@RequestParam(value = "contractId") String contractId) {
-        Assert.hasLength(contractId, "鍚堝悓ID涓嶈兘涓虹┖");
-
-        ContractAmountDetailDto queryDto = new ContractAmountDetailDto();
-        queryDto.setContractId(contractId);
-
-        List<Map<String, Object>> result = sqlSessionTemplate.selectList(
-                "contractAmountDetailDaoImpl.getContractAmountDetail",
-                BeanConvertUtil.beanCovertMap(queryDto));
-
-        JSONObject resJson = new JSONObject();
-        resJson.put("code", "0000");
-        resJson.put("msg", "鏌ヨ鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
-        resJson.put("data", result);
-
-        return ResponseEntity.ok(resJson.toJSONString());
-    }
-}
\ No newline at end of file
+//package com.java110.fee.api.contract;
+//
+//import com.alibaba.fastjson.JSONObject;
+//import com.java110.dto.contract.ContractAmountDetailDto;
+//import com.java110.utils.util.Assert;
+//import com.java110.utils.util.BeanConvertUtil;
+//import org.mybatis.spring.SqlSessionTemplate;
+//import org.springframework.beans.factory.annotation.Autowired;
+//import org.springframework.http.ResponseEntity;
+//import org.springframework.web.bind.annotation.*;
+//
+//import java.util.HashMap;
+//import java.util.List;
+//import java.util.Map;
+//
+///**
+// * 鍚堝悓閲戦鏄庣粏淇℃伅鎺ュ彛
+// * 閫傞厤 contract_amount_detail 琛�
+// * @author dev
+// * @date 2025-12-24
+// */
+////@RestController
+//@RequestMapping(value = "/contractAmountDetaila")
+//public class ContractAmountDetailApi {
+//
+//    @Autowired
+//    protected SqlSessionTemplate sqlSessionTemplate;
+//
+//    /**
+//     * 淇濆瓨鍚堝悓閲戦鏄庣粏淇℃伅
+//     *
+//     * @param reqJson 璇锋眰鍙傛暟
+//     * @return 鍝嶅簲缁撴灉
+//     * @serviceCode /contractAmountDetail/saveContractAmountDetail
+//     * @path /app/contractAmountDetail/saveContractAmountDetail
+//     */
+//    @RequestMapping(value = "/saveContractAmountDetail", method = RequestMethod.POST)
+//    public ResponseEntity<String> saveContractAmountDetail(@RequestBody JSONObject reqJson) {
+//        // 鏍稿績鍙傛暟鏍¢獙
+//        Assert.hasKeyAndValue(reqJson, "contractId", "璇锋眰鎶ユ枃涓湭鍖呭惈鍚堝悓ID");
+//
+//        // 杞崲涓篋TO
+//        ContractAmountDetailDto dto = BeanConvertUtil.covertBean(reqJson, ContractAmountDetailDto.class);
+//
+//        // 璋冪敤Mapper淇濆瓨鏂规硶
+//        int insert = sqlSessionTemplate.insert("contractAmountDetailDaoImpl.saveContractAmountDetail",
+//                BeanConvertUtil.beanCovertMap(dto));
+//
+//        // 鏋勯�犲搷搴旂粨鏋�
+//        JSONObject resJson = new JSONObject();
+//        if (insert > 0) {
+//            resJson.put("code", "0000");
+//            resJson.put("msg", "淇濆瓨鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
+//        } else {
+//            resJson.put("code", "0001");
+//            resJson.put("msg", "淇濆瓨鍚堝悓閲戦鏄庣粏淇℃伅澶辫触");
+//        }
+//        resJson.put("count", insert);
+//        return ResponseEntity.ok(resJson.toJSONString());
+//    }
+//
+//    /**
+//     * 閲嶈浇淇濆瓨鏂规硶锛堝叆鍙備负DTO锛�
+//     */
+//    public ResponseEntity<String> saveContractAmountDetail(ContractAmountDetailDto dto) {
+//        int insert = sqlSessionTemplate.insert("contractAmountDetailDaoImpl.saveContractAmountDetail",
+//                BeanConvertUtil.beanCovertMap(dto));
+//
+//        JSONObject resJson = new JSONObject();
+//        if (insert > 0) {
+//            resJson.put("code", "0000");
+//            resJson.put("msg", "淇濆瓨鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
+//        } else {
+//            resJson.put("code", "0001");
+//            resJson.put("msg", "淇濆瓨鍚堝悓閲戦鏄庣粏淇℃伅澶辫触");
+//        }
+//        resJson.put("count", insert);
+//        return ResponseEntity.ok(resJson.toJSONString());
+//    }
+//
+//    /**
+//     * 淇敼鍚堝悓閲戦鏄庣粏淇℃伅
+//     *
+//     * @param reqJson 璇锋眰鍙傛暟
+//     * @return 鍝嶅簲缁撴灉
+//     * @serviceCode /contractAmountDetail/updateContractAmountDetail
+//     * @path /app/contractAmountDetail/updateContractAmountDetail
+//     */
+//    @RequestMapping(value = "/updateContractAmountDetail", method = RequestMethod.POST)
+//    public ResponseEntity<String> updateContractAmountDetail(@RequestBody JSONObject reqJson) {
+//        // 涓婚敭/鍚堝悓ID鏍¢獙锛堜簩閫変竴锛�
+//        Assert.hasKey(reqJson, "id", "璇锋眰鎶ユ枃涓湭鍖呭惈涓婚敭ID");
+//        Assert.hasKey(reqJson, "contractId", "璇锋眰鎶ユ枃涓湭鍖呭惈鍚堝悓ID");
+//
+//        ContractAmountDetailDto dto = BeanConvertUtil.covertBean(reqJson, ContractAmountDetailDto.class);
+//
+//        // 璋冪敤Mapper淇敼鏂规硶
+//        int update = sqlSessionTemplate.update("contractAmountDetailDaoImpl.updateContractAmountDetail",
+//                BeanConvertUtil.beanCovertMap(dto));
+//
+//        JSONObject resJson = new JSONObject();
+//        if (update > 0) {
+//            resJson.put("code", "0000");
+//            resJson.put("msg", "淇敼鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
+//        } else {
+//            resJson.put("code", "0001");
+//            resJson.put("msg", "淇敼鍚堝悓閲戦鏄庣粏淇℃伅澶辫触锛屾湭鎵惧埌瀵瑰簲璁板綍");
+//        }
+//        resJson.put("count", update);
+//        return ResponseEntity.ok(resJson.toJSONString());
+//    }
+//
+//    /**
+//     * 鍒嗛〉鏌ヨ鍚堝悓閲戦鏄庣粏淇℃伅鍒楄〃
+//     *
+//     * @param id                      涓婚敭ID锛堝彲閫夛級
+//     * @param contractId              鍚堝悓ID锛堝彲閫夛級
+//     * @param totalContractAmount     鍚堝悓鎬婚噾棰濓紙鍙�夛級
+//     * @param unitPrice               鍗曚环锛堝彲閫夛級
+//     * @param accountInfo             璐︽埛淇℃伅锛堝彲閫夛級
+//     * @param mainMeterNo             涓昏〃缂栧彿锛堝彲閫夛級
+//     * @param paymentRemark           浠樻澶囨敞锛堝彲閫夛級
+//     * @param page                    椤电爜锛堥粯璁�1锛�
+//     * @param row                     姣忛〉鏉℃暟锛堥粯璁�10锛�
+//     * @return 鍝嶅簲缁撴灉
+//     * @serviceCode /contractAmountDetail/queryContractAmountDetail
+//     * @path /app/contractAmountDetail/queryContractAmountDetail
+//     */
+//    @RequestMapping(value = "/queryContractAmountDetail", method = RequestMethod.GET)
+//    public ResponseEntity<String> queryContractAmountDetail(
+//            @RequestParam(value = "id", required = false) String id,
+//            @RequestParam(value = "contractId", required = false) String contractId,
+//            @RequestParam(value = "totalContractAmount", required = false) String totalContractAmount,
+//            @RequestParam(value = "unitPrice", required = false) String unitPrice,
+//            @RequestParam(value = "accountInfo", required = false) String accountInfo,
+//            @RequestParam(value = "mainMeterNo", required = false) String mainMeterNo,
+//            @RequestParam(value = "paymentRemark", required = false) String paymentRemark,
+//            @RequestParam(value = "page", defaultValue = "1") int page,
+//            @RequestParam(value = "row", defaultValue = "10") int row) {
+//
+//        // 灏佽鏌ヨ鍙傛暟
+//        ContractAmountDetailDto queryDto = new ContractAmountDetailDto();
+//        queryDto.setId(Integer.parseInt(id));
+//        queryDto.setContractId(contractId);
+//        queryDto.setTotalContractAmount(totalContractAmount);
+//        queryDto.setUnitPrice(unitPrice);
+//        queryDto.setAccountInfo(accountInfo);
+//        queryDto.setMainMeterNo(mainMeterNo);
+//        queryDto.setPaymentRemark(paymentRemark);
+//        queryDto.setPage((page - 1) * row);
+//        queryDto.setRow(row);
+//
+//        // 鏌ヨ鍒楄〃鏁版嵁
+//        List<Map<String, Object>> list = sqlSessionTemplate.selectList(
+//                "contractAmountDetailDaoImpl.getContractAmountDetail",
+//                BeanConvertUtil.beanCovertMap(queryDto));
+//
+//        // 鏌ヨ鎬绘暟
+//        Object total = ((HashMap) sqlSessionTemplate.selectOne(
+//                "contractAmountDetailDaoImpl.queryContractAmountDetailsCount",
+//                BeanConvertUtil.beanCovertMap(queryDto))).get("count");
+//
+//        // 鏋勯�犲垎椤靛搷搴�
+//        JSONObject resJson = new JSONObject();
+//        resJson.put("code", "0000");
+//        resJson.put("msg", "鏌ヨ鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
+//        resJson.put("page", page);
+//        resJson.put("row", row);
+//        resJson.put("total", total);
+//        resJson.put("data", list);
+//
+//        return ResponseEntity.ok(resJson.toJSONString());
+//    }
+//
+//    /**
+//     * 鏍规嵁ID鏌ヨ鍗曟潯鍚堝悓閲戦鏄庣粏淇℃伅
+//     *
+//     * @param id 涓婚敭ID
+//     * @return 鍝嶅簲缁撴灉
+//     * @serviceCode /contractAmountDetail/getContractAmountDetailById
+//     * @path /app/contractAmountDetail/getContractAmountDetailById
+//     */
+//    @RequestMapping(value = "/getContractAmountDetailById", method = RequestMethod.GET)
+//    public ResponseEntity<String> getContractAmountDetailById(@RequestParam(value = "id") Integer id) {
+//        // 涓婚敭鏍¢獙
+//        Assert.notNull(id, "涓婚敭ID涓嶈兘涓虹┖");
+//
+//        ContractAmountDetailDto queryDto = new ContractAmountDetailDto();
+//        queryDto.setId(id);
+//
+//        // 鏌ヨ鍗曟潯鏁版嵁
+//        Map<String, Object> result = sqlSessionTemplate.selectOne(
+//                "contractAmountDetailDaoImpl.getContractAmountDetail",
+//                BeanConvertUtil.beanCovertMap(queryDto));
+//
+//        JSONObject resJson = new JSONObject();
+//        if (result != null) {
+//            resJson.put("code", "0000");
+//            resJson.put("msg", "鏌ヨ鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
+//            resJson.put("data", result);
+//        } else {
+//            resJson.put("code", "0001");
+//            resJson.put("msg", "鏈壘鍒板搴斿悎鍚岄噾棰濇槑缁嗚褰�");
+//        }
+//
+//        return ResponseEntity.ok(resJson.toJSONString());
+//    }
+//
+//    /**
+//     * 鏍规嵁鍚堝悓ID鏌ヨ鍚堝悓閲戦鏄庣粏淇℃伅
+//     *
+//     * @param contractId 鍚堝悓ID
+//     * @return 鍝嶅簲缁撴灉
+//     * @serviceCode /contractAmountDetail/getContractAmountDetailByContractId
+//     * @path /app/contractAmountDetail/getContractAmountDetailByContractId
+//     */
+//    @RequestMapping(value = "/getContractAmountDetailByContractId", method = RequestMethod.GET)
+//    public ResponseEntity<String> getContractAmountDetailByContractId(@RequestParam(value = "contractId") String contractId) {
+//        Assert.hasLength(contractId, "鍚堝悓ID涓嶈兘涓虹┖");
+//
+//        ContractAmountDetailDto queryDto = new ContractAmountDetailDto();
+//        queryDto.setContractId(contractId);
+//
+//        List<Map<String, Object>> result = sqlSessionTemplate.selectList(
+//                "contractAmountDetailDaoImpl.getContractAmountDetail",
+//                BeanConvertUtil.beanCovertMap(queryDto));
+//
+//        JSONObject resJson = new JSONObject();
+//        resJson.put("code", "0000");
+//        resJson.put("msg", "鏌ヨ鍚堝悓閲戦鏄庣粏淇℃伅鎴愬姛");
+//        resJson.put("data", result);
+//
+//        return ResponseEntity.ok(resJson.toJSONString());
+//    }
+//}
\ No newline at end of file

--
Gitblit v1.8.0