配置调整

debug
王绍全 2 weeks ago
parent 6db6d0c4c7
commit 2c3a140638
  1. 3
      src/main/java/com/ynxbd/common/dao/RecipeDao.java
  2. 7
      src/main/resources/hc-config.xml
  3. 10
      src/main/resources/sms-config.xml

@ -73,7 +73,7 @@ public class RecipeDao {
* @return 是否存储成功 * @return 是否存储成功
*/ */
public boolean insertMedical(Recipe recipe) { public boolean insertMedical(Recipe recipe) {
String sql = "insert into pay(updateTime, hisStatus, payStatus, openId, patientId, payWay, payMoney, totalFee, outTradeNo, bankTransNo, tradeNo, recipeId, treatNum, authCode, invoiceTransNo, hisTransNo, operateUser, deptCode, deptName, reqDeptCode, reqDeptName, hospitalArea, PayOrdId, AcctFee, HifpFee, ChrgBchno, MdTrtId, MdUserId, RecipeJson, PayMchCode, PayOpenId, HisPatientId) values (now(),?,?,?,?,?,?,?,?,?,?, ?,?,?,?,?,?,?,?,?,?, ?,?,?,?,?,?,?,?,?,?, ?)"; String sql = "insert into pay(updateTime, hisStatus, payStatus, openId, patientId, payWay, payMoney, totalFee, outTradeNo, bankTransNo, tradeNo, recipeId, treatNum, authCode, invoiceTransNo, hisTransNo, operateUser, deptCode, deptName, reqDeptCode, reqDeptName, hospitalArea, PayOrdId, AcctFee, HifpFee, ChrgBchno, MdTrtId, MdUserId, RecipeJson, PayMchCode, PayOpenId) values (now(),?,?,?,?,?,?,?,?,?,?, ?,?,?,?,?,?,?,?,?,?, ?,?,?,?,?,?,?,?,?,?)";
return DataBase.insert(sql, ps -> { return DataBase.insert(sql, ps -> {
ps.setInt(1, recipe.getHisStatus()); ps.setInt(1, recipe.getHisStatus());
ps.setInt(2, recipe.getPayStatus()); ps.setInt(2, recipe.getPayStatus());
@ -109,7 +109,6 @@ public class RecipeDao {
ps.setString(28, recipe.getRecipeJson()); ps.setString(28, recipe.getRecipeJson());
ps.setString(29, recipe.getPayMchCode()); ps.setString(29, recipe.getPayMchCode());
ps.setString(30, recipe.getPayOpenId()); ps.setString(30, recipe.getPayOpenId());
ps.setString(31, recipe.getHisPatientId());
}) > 0; }) > 0;
} }

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<config> <config>
<!-- 报告解读 --> <!-- 报告解读 -->
<report> <report name="报告解读">
<is_dev mame="是否为测试环境">true</is_dev> <is_dev mame="是否为测试环境">true</is_dev>
<partner_id name="合作方ID">20009251</partner_id> <partner_id name="合作方ID">20009251</partner_id>
@ -11,8 +11,7 @@
<dev_token>3bee9edc0a2f41ac911b9b714c854cad</dev_token> <dev_token>3bee9edc0a2f41ac911b9b714c854cad</dev_token>
</report> </report>
<!-- 智能导诊 --> <ai_guidance name="智能导诊">
<ai_guidance>
<is_enable name="是否开启">true</is_enable> <is_enable name="是否开启">true</is_enable>
<is_debug mame="是否开启调试">true</is_debug> <is_debug mame="是否开启调试">true</is_debug>
<is_dev mame="是否为测试环境">true</is_dev> <is_dev mame="是否为测试环境">true</is_dev>
@ -35,7 +34,7 @@
<hosp_tel name="联系方式"></hosp_tel> <hosp_tel name="联系方式"></hosp_tel>
</ai_guidance> </ai_guidance>
<pew> <pew name="预问诊">
<is_enable name="是否开启">true</is_enable> <is_enable name="是否开启">true</is_enable>
<is_dev mame="是否为测试环境">true</is_dev> <is_dev mame="是否为测试环境">true</is_dev>
<!-- 合作方ID --> <!-- 合作方ID -->

@ -1,17 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<config> <config>
<ali_sms> <ali_sms name="阿里云短信配置">
<!--阿里云短信配置-->
<access_key_id>20009251</access_key_id> <access_key_id>20009251</access_key_id>
<access_key_secret>3bee9edc0a2f41ac911b9b714c854cad</access_key_secret> <access_key_secret>3bee9edc0a2f41ac911b9b714c854cad</access_key_secret>
<sign_name name="短信签名">德宏州中医医院</sign_name> <sign_name name="短信签名">云南新八达科技有限公司</sign_name>
</ali_sms> </ali_sms>
<tz_sms> <tz_sms name="天助平台短信">
<!-- 天助平台短信 -->
<webservice_url>http://10.255.248.183:9003/WebService1.asmx/SlipPrint</webservice_url> <webservice_url>http://10.255.248.183:9003/WebService1.asmx/SlipPrint</webservice_url>
<json_url>http://10.255.248.183:9001</json_url> <json_url>http://10.255.248.183:9001</json_url>
<terminal_no>VX</terminal_no> <terminal_no>VX</terminal_no>
<test_patientId></test_patientId> <test_patientId>1</test_patientId>
</tz_sms> </tz_sms>
</config> </config>
Loading…
Cancel
Save