Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
commit
12b87312fd
|
|
@ -749,6 +749,10 @@ public class MemberService {
|
|||
return Result.fail(CodeEnum.USERSHOPFLOWNOEXIST);
|
||||
}
|
||||
|
||||
if(!"0".equals(flow.getIsReturn())){
|
||||
return Result.fail(CodeEnum.ORDERRETURN);
|
||||
}
|
||||
|
||||
|
||||
TbShopUser user=tbShopUserMapper.selectByPrimaryKey(flow.getShopUserId());
|
||||
|
||||
|
|
@ -776,7 +780,7 @@ public class MemberService {
|
|||
|
||||
String no=DateUtils.getSsdfTimes();
|
||||
|
||||
PublicResp<OrderReturnResp> publicResp = thirdPayService.returnOrder(url, thirdApply.getAppId(),no , flow.getRemark(), null, "充值退款", flow.getAmount().setScale(2, RoundingMode.DOWN).multiply(new BigDecimal(100)).longValue(), callBack, null, thirdApply.getAppToken());
|
||||
PublicResp<OrderReturnResp> publicResp = thirdPayService.returnOrder(url, thirdApply.getAppId(),no , null, flow.getRemark(), "充值退款", flow.getAmount().setScale(2, RoundingMode.DOWN).multiply(new BigDecimal(100)).longValue(), callBack, null, thirdApply.getAppToken());
|
||||
if (ObjectUtil.isNotNull(publicResp) && ObjectUtil.isNotEmpty(publicResp)) {
|
||||
if ("000000".equals(publicResp.getCode())) {
|
||||
if (!"SUCCESS".equals(publicResp.getObjData().getState()) && !publicResp.getObjData().getState().equals("ING")) {
|
||||
|
|
|
|||
|
|
@ -126,6 +126,7 @@
|
|||
biz_name = #{bizName,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
type = #{type,jdbcType=VARCHAR}
|
||||
is_return=#{isReturn,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue