| | |
| | | /** |
| | | * 预约开始时间 |
| | | * 预约结束时间 |
| | | * 支付后,确认倒计时的分钟数,60,为记录支付时间paytime开始计算60分钟的倒计时 |
| | | */ |
| | | YU_YUE_START_TIME("YU_YUE_START_TIME","YU_YUE_START_TIME"), |
| | | YU_YUE_END_TIME("YU_YUE_END_TIME","YU_YUE_END_TIME"), |
| | | INSURE_END_MINUTE("INSURE_END_MINUTE","INSURE_END_MINUTE"), |
| | | /** |
| | | * NFT最小提现数量 |
| | | * NFT手续费 |
| | |
| | | DataDictionaryEnum.OUT_FCM_FEE.getType(), |
| | | DataDictionaryEnum.OUT_FCM_FEE.getCode(), |
| | | gfaBasicSetDto.getOutFcmFee()); |
| | | commonService.updateDataDic( |
| | | DataDictionaryEnum.INSURE_END_MINUTE.getType(), |
| | | DataDictionaryEnum.INSURE_END_MINUTE.getCode(), |
| | | gfaBasicSetDto.getMinuteCnt()); |
| | | // commonService.updateDataDic( |
| | | // DataDictionaryEnum.FCM_PRICE.getType(), |
| | | // DataDictionaryEnum.FCM_PRICE.getCode(), |
| | |
| | | gfaBasicSetDto.setNftMin(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.NFT_MIN.getType(), |
| | | DataDictionaryEnum.NFT_MIN.getCode()).getValue()); |
| | | gfaBasicSetDto.setMinuteCnt(dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.INSURE_END_MINUTE.getType(), |
| | | DataDictionaryEnum.INSURE_END_MINUTE.getCode()).getValue()); |
| | | model.addAttribute("gfaBasicSet", gfaBasicSetDto); |
| | | return FebsUtil.view("modules/news/gfaBasicSet"); |
| | | } |
| | |
| | | |
| | | private String frozenFcmCnt; |
| | | |
| | | private String minuteCnt; |
| | | |
| | | } |
| | |
| | | BigDecimal memberFrozenFcmCnt = ObjectUtil.isEmpty(memberFrozenFcmCntDic) ? new BigDecimal(100) : new BigDecimal(memberFrozenFcmCntDic.getValue()); |
| | | mallMemberVo.setUnfrozenCnt(memberFrozenFcmCnt); |
| | | |
| | | DataDictionaryCustom insureMinuteDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.INSURE_END_MINUTE.getType(), |
| | | DataDictionaryEnum.INSURE_END_MINUTE.getCode() |
| | | ); |
| | | Integer insureMinute = Integer.parseInt(ObjectUtil.isEmpty(insureMinuteDic) ? "60" : insureMinuteDic.getValue()); |
| | | mallMemberVo.setMinuteCnt(insureMinute); |
| | | |
| | | DataDictionaryCustom dic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(AppContants.AGENT_LEVEL, mallMember.getLevel()); |
| | | if (dic != null) { |
| | | mallMemberVo.setLevelName(dic.getDescription()); |
| | |
| | | objects.add(apiOrderListVo); |
| | | } |
| | | } |
| | | |
| | | IPage<ApiOrderRecordListVo> pageSell = new Page<>(apiOrderListDto.getPageNum(), apiOrderListDto.getPageSize()); |
| | | IPage<ApiOrderRecordListVo> apiOrderListVoIPageSell = mallProductSellRecordMapper.selectListInPage(pageSell, apiOrderListDto); |
| | | if(CollUtil.isNotEmpty(apiOrderListVoIPageSell.getRecords())){ |
| | | for(ApiOrderRecordListVo apiOrderListVo : apiOrderListVoIPageSell.getRecords()){ |
| | | objects.add(apiOrderListVo); |
| | | } |
| | | } |
| | | IPage<ApiOrderRecordListVo> pageSell = new Page<>(apiOrderListDto.getPageNum(), apiOrderListDto.getPageSize()); |
| | | IPage<ApiOrderRecordListVo> apiOrderListVoIPageSell = mallProductSellRecordMapper.selectListInPage(pageSell, apiOrderListDto); |
| | | if(CollUtil.isNotEmpty(apiOrderListVoIPageSell.getRecords())){ |
| | | for(ApiOrderRecordListVo apiOrderListVo : apiOrderListVoIPageSell.getRecords()){ |
| | | objects.add(apiOrderListVo); |
| | | } |
| | | } |
| | | |
| | |
| | | private String orderNo; |
| | | @ApiModelProperty(value = "时间") |
| | | private Date createdTime; |
| | | @ApiModelProperty(value = "支付时间") |
| | | private Date payTime; |
| | | @ApiModelProperty(value = "数量") |
| | | private BigDecimal nftTotal; |
| | | @ApiModelProperty(value = "匹配状态0:失败 1:匹配中 2:待支付 3:已支付 4:对方已确认 5:已完成 6已投诉") |
| | |
| | | private Integer isFrozen; |
| | | @ApiModelProperty(value = "已排单") |
| | | private Integer pickCount; |
| | | @ApiModelProperty(value = "支付后,确认倒计时的分钟数,60,为paytime开始计算60分钟的倒计时") |
| | | private Integer minuteCnt; |
| | | |
| | | } |
| | |
| | | select a.id, |
| | | b.order_no, |
| | | a.CREATED_TIME, |
| | | a.pay_time, |
| | | a.pick_nft_cnt as nftTotal, |
| | | a.state, |
| | | 2 as orderType |
| | |
| | | select a.id, |
| | | b.order_no, |
| | | a.CREATED_TIME, |
| | | a.pay_time, |
| | | a.nft_cnt as nftTotal, |
| | | a.state, |
| | | 1 as orderType |
| | |
| | | <form class="layui-form" action="" lay-filter="gfa-Basic-set-form"> |
| | | <div class="layui-card"> |
| | | <div class="layui-card-body"> |
| | | <blockquote class="layui-elem-quote blue-border">买卖单时间设置</blockquote> |
| | | <blockquote class="layui-elem-quote blue-border">买卖单(确认支付)时间设置</blockquote> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-col-lg6"> |
| | | <label class="layui-form-label febs-form-item-require">开始时间:</label> |
| | |
| | | <label class="layui-form-label febs-form-item-require">结束时间:</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" name="endTime" class="layui-input" id="endTimePick" placeholder="HH:mm:ss"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <blockquote class="layui-elem-quote blue-border">确认收款时间设置</blockquote> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-col-lg6"> |
| | | <label class="layui-form-label febs-form-item-require">时间间隔:</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" name="minuteCnt" class="layui-input" readonly> |
| | | <div class="layui-form-mid layui-word-aux">支付后,确认倒计时的分钟数,60,为记录支付时间开始计算60分钟的倒计时</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | "outFcmMin": gfaBasicSet.outFcmMin, |
| | | "nftMin": gfaBasicSet.nftMin, |
| | | "frozenFcmCnt": gfaBasicSet.frozenFcmCnt, |
| | | "minuteCnt": gfaBasicSet.minuteCnt, |
| | | "endTime": gfaBasicSet.endTime |
| | | }); |
| | | } |