|
|
@@ -267,11 +267,11 @@ public class WxService {
|
|
|
String total_fee=map.get("total_fee");
|
|
|
if (result_code.equals("SUCCESS")) {
|
|
|
Order os=orderMapper.selectByPrimaryKey(out_trade_no);
|
|
|
- if (os.getPayStatus()!=1) {
|
|
|
+ if (os!=null&&os.getPayStatus()!=1) {
|
|
|
insertOrder(total_fee, transaction_id, out_trade_no);
|
|
|
}
|
|
|
}
|
|
|
- LoggerUtils.debug(getClass(),"\n\n\n\n\n>>>>>>>>>>>>>>>>>>>>>>>>微信回调结束>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n\n\n\n\n");
|
|
|
+ LoggerUtils.debug(getClass(),"\n\n>>>>>>>>>>>>>>>>>>>>>>>>微信回调结束>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n\n");
|
|
|
} catch ( Exception e) {
|
|
|
e.printStackTrace();
|
|
|
throw new BusinessException("回调解析异常");
|