修改病案缴费接口

This commit is contained in:
sangchengzhi
2026-01-26 09:35:27 +08:00
parent a2420d61fd
commit fb732e8445
3 changed files with 5 additions and 3 deletions

View File

@@ -2216,7 +2216,7 @@ public class XmlUtil {
str.append(vo.getOrderno());
str.append("</PowerTranID>");
str.append("<Pages>");
str.append(vo.getPages());
str.append(vo.getPages()*vo.getCopies());
str.append("</Pages>");
str.append("<ZFamount>");
// 安全的数值减法运算,处理可能的空值和精度问题

View File

@@ -295,6 +295,8 @@ public class Reserve8Service {
mapRes.put("result", payorderno);
mapRes.put("id", vo.getUserId());
mapRes.put("recode", "0");
mapRes.put("refundResult", "success");
mapRes.put("returncode", "1");
}else {
log.debug("MOP_BillsPayedRefund:" + " failed");
mapRes.put("result", "his failed");

View File

@@ -68,9 +68,9 @@
SELECT * FROM express WHERE user_id = #{userId} and status = #{status} and deleted = 0 and orderno IS NOT NULL;
</select>
<select id="selectListByPatientId" resultType="com.guahao.h5.reserve.vo.BingAnVO">
SELECT * FROM express WHERE patient_id = #{patientId} and deleted = 0;
SELECT * FROM express WHERE patient_id = #{patientId} and deleted = 0 and status = 2;
</select>
<select id="selectListByHosNum" resultType="com.guahao.h5.reserve.vo.BingAnVO">
SELECT * FROM express WHERE hos_number = #{hosNum} and deleted = 0;
SELECT * FROM express WHERE hos_number = #{hosNum} and deleted = 0 and status = 2;
</select>
</mapper>