Compare commits
2 Commits
bc92cfb31f
...
8d2d948ea2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d2d948ea2 | ||
|
|
c0c3671c0e |
6
.idea/CoolRequestCommonStatePersistent.xml
generated
6
.idea/CoolRequestCommonStatePersistent.xml
generated
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CoolRequestCommonStatePersistent">
|
||||
<option name="searchCache" value="bu" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -185,6 +185,10 @@ public class WxPayService {
|
||||
UserVo userVo = userService.queryUserInfoDetails(uo.getUser_id());
|
||||
String openid = userVo.getOpenid();
|
||||
txSendMsg.SendNotifyYJJ(uo,openid);
|
||||
}else {
|
||||
//写入his失败,执行退款处理
|
||||
refundOrder(uo.getCode(),AmountUtil.doubleToStr(uo.getMoney()));
|
||||
|
||||
}
|
||||
}
|
||||
}else if (wxResult.getOut_trade_no().startsWith("BA")){
|
||||
|
||||
@@ -68,4 +68,8 @@ public final class AmountUtil {
|
||||
BigDecimal amountB = parseAmount(b, BigDecimal.ZERO);
|
||||
return amountA.compareTo(amountB);
|
||||
}
|
||||
// Double金额转为String金额
|
||||
public static String doubleToStr(Double amount) {
|
||||
return String.format("%.2f", amount);
|
||||
}
|
||||
}
|
||||
@@ -509,7 +509,7 @@ public class UserOrderService {
|
||||
str.append("</PatientId>");
|
||||
|
||||
str.append("<PayType>");
|
||||
str.append("wx");
|
||||
str.append("微信");
|
||||
str.append("</PayType>");
|
||||
|
||||
str.append("<PayAmount>");
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
WHERE user_id = #{userId,jdbcType=INTEGER}
|
||||
</select>
|
||||
<select id="selectListSurveys" resultType="com.guahao.h5.assess.vo.SurveysVO">
|
||||
select * from myd where isdelete = 0
|
||||
select * from myd where deleted = 0
|
||||
</select>
|
||||
|
||||
<delete id="deleteUserAssess" parameterType="java.lang.Integer">
|
||||
|
||||
Reference in New Issue
Block a user