Browse Source

web 交易查询修改

main
niefei 1 month ago
parent
commit
df8fa1ad09
  1. 4
      coin-generator/src/main/resources/vm/vue/index.vue.vm
  2. 2
      coin-system/src/main/java/com/coin/business/service/impl/DealCashoutServiceImpl.java
  3. 2
      coin-system/src/main/java/com/coin/business/service/impl/DealPayServiceImpl.java
  4. 2
      coin-system/src/main/java/com/coin/business/service/impl/DealReceiveServiceImpl.java
  5. 2
      coin-system/src/main/java/com/coin/business/service/impl/DealTransferServiceImpl.java
  6. 2
      coin-system/src/main/java/com/coin/business/service/impl/RecordTransactionServiceImpl.java

4
coin-generator/src/main/resources/vm/vue/index.vue.vm

@ -187,8 +187,8 @@
/>
<!-- 添加或修改${functionName}对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="auto">
#foreach($column in $columns)
#set($field=$column.javaField)
#if($column.insert && !$column.pk)

2
coin-system/src/main/java/com/coin/business/service/impl/DealCashoutServiceImpl.java

@ -1,5 +1,6 @@
package com.coin.business.service.impl;
import com.coin.common.core.domain.BaseEntity;
import com.coin.common.utils.StringUtils;
import cn.hutool.core.bean.BeanUtil;
import com.coin.common.core.page.TableDataInfo;
@ -76,6 +77,7 @@ public class DealCashoutServiceImpl implements IDealCashoutService {
lqw.eq(StringUtils.isNotBlank(bo.getCreateBy()), DealCashout::getCreateBy, bo.getCreateBy());
lqw.between(params.get("beginCreateTime") != null && params.get("endCreateTime") != null,
DealCashout::getCreateTime ,params.get("beginCreateTime"), params.get("endCreateTime"));
lqw.orderByDesc(BaseEntity::getCreateTime);
return lqw;
}

2
coin-system/src/main/java/com/coin/business/service/impl/DealPayServiceImpl.java

@ -1,5 +1,6 @@
package com.coin.business.service.impl;
import com.coin.common.core.domain.BaseEntity;
import com.coin.common.utils.StringUtils;
import cn.hutool.core.bean.BeanUtil;
import com.coin.common.core.page.TableDataInfo;
@ -75,6 +76,7 @@ public class DealPayServiceImpl implements IDealPayService {
lqw.eq(StringUtils.isNotBlank(bo.getStatus()), DealPay::getStatus, bo.getStatus());
lqw.between(params.get("beginCreateTime") != null && params.get("endCreateTime") != null,
DealPay::getCreateTime ,params.get("beginCreateTime"), params.get("endCreateTime"));
lqw.orderByDesc(BaseEntity::getCreateTime);
return lqw;
}

2
coin-system/src/main/java/com/coin/business/service/impl/DealReceiveServiceImpl.java

@ -1,5 +1,6 @@
package com.coin.business.service.impl;
import com.coin.common.core.domain.BaseEntity;
import com.coin.common.utils.StringUtils;
import cn.hutool.core.bean.BeanUtil;
import com.coin.common.core.page.TableDataInfo;
@ -75,6 +76,7 @@ public class DealReceiveServiceImpl implements IDealReceiveService {
lqw.like(StringUtils.isNotBlank(bo.getRemark()), DealReceive::getRemark, bo.getRemark());
lqw.eq(StringUtils.isNotBlank(bo.getStatus()), DealReceive::getStatus, bo.getStatus());
lqw.eq(bo.getCreateTime() != null, DealReceive::getCreateTime, bo.getCreateTime());
lqw.orderByDesc(BaseEntity::getCreateTime);
return lqw;
}

2
coin-system/src/main/java/com/coin/business/service/impl/DealTransferServiceImpl.java

@ -1,5 +1,6 @@
package com.coin.business.service.impl;
import com.coin.common.core.domain.BaseEntity;
import com.coin.common.utils.StringUtils;
import cn.hutool.core.bean.BeanUtil;
import com.coin.common.core.page.TableDataInfo;
@ -75,6 +76,7 @@ public class DealTransferServiceImpl implements IDealTransferService {
lqw.eq(StringUtils.isNotBlank(bo.getStatus()), DealTransfer::getStatus, bo.getStatus());
lqw.between(params.get("beginCreateTime") != null && params.get("endCreateTime") != null,
DealTransfer::getCreateTime ,params.get("beginCreateTime"), params.get("endCreateTime"));
lqw.orderByDesc(BaseEntity::getCreateTime);
return lqw;
}

2
coin-system/src/main/java/com/coin/business/service/impl/RecordTransactionServiceImpl.java

@ -1,5 +1,6 @@
package com.coin.business.service.impl;
import com.coin.common.core.domain.BaseEntity;
import com.coin.common.utils.StringUtils;
import cn.hutool.core.bean.BeanUtil;
import com.coin.common.core.page.TableDataInfo;
@ -79,6 +80,7 @@ public class RecordTransactionServiceImpl implements IRecordTransactionService {
lqw.eq(StringUtils.isNotBlank(bo.getStatus()), RecordTransaction::getStatus, bo.getStatus());
lqw.between(params.get("beginCreateTime") != null && params.get("endCreateTime") != null,
RecordTransaction::getCreateTime ,params.get("beginCreateTime"), params.get("endCreateTime"));
lqw.orderByDesc(BaseEntity::getCreateTime);
return lqw;
}

Loading…
Cancel
Save