Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
36556300a4
|
|
@ -24,6 +24,7 @@ public class AccountInfoQueryParam extends BaseEntity {
|
||||||
@ApiModelProperty("结束时间")
|
@ApiModelProperty("结束时间")
|
||||||
private LocalDateTime endDateTime;
|
private LocalDateTime endDateTime;
|
||||||
private String searchValue;
|
private String searchValue;
|
||||||
|
private Integer userType;
|
||||||
// @ApiModelProperty("钱包最小金额")
|
// @ApiModelProperty("钱包最小金额")
|
||||||
// private BigDecimal walletMinAmount;
|
// private BigDecimal walletMinAmount;
|
||||||
// @ApiModelProperty("钱包最大金额")
|
// @ApiModelProperty("钱包最大金额")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
package com.bonus.canteen.core.account.domain.vo;
|
package com.bonus.canteen.core.account.domain.vo;
|
||||||
|
|
||||||
import com.bonus.common.core.annotation.Excel;
|
import com.bonus.common.core.annotation.Excel;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
|
@ -35,6 +36,7 @@ public class AccInfoDetailsVO {
|
||||||
private Long deptId;
|
private Long deptId;
|
||||||
@ApiModelProperty("用户类别(展示)")
|
@ApiModelProperty("用户类别(展示)")
|
||||||
@Excel(name = "用户类别(展示)")
|
@Excel(name = "用户类别(展示)")
|
||||||
|
@JsonIgnore
|
||||||
private String userTypeName;
|
private String userTypeName;
|
||||||
@ApiModelProperty("账户总余额")
|
@ApiModelProperty("账户总余额")
|
||||||
@Excel(name = "账户总余额")
|
@Excel(name = "账户总余额")
|
||||||
|
|
|
||||||
|
|
@ -433,6 +433,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</foreach>
|
</foreach>
|
||||||
<if test="accountInfoQueryParam.searchValue != null and accountInfoQueryParam.searchValue != ''">
|
<if test="accountInfoQueryParam.searchValue != null and accountInfoQueryParam.searchValue != ''">
|
||||||
and (t2.nick_name like CONCAT('%',#{accountInfoQueryParam.searchValue},'%')
|
and (t2.nick_name like CONCAT('%',#{accountInfoQueryParam.searchValue},'%')
|
||||||
|
or t2.user_id like CONCAT('%',#{accountInfoQueryParam.searchValue},'%')
|
||||||
or t2.phonenumber = #{encryptedSearchValue}
|
or t2.phonenumber = #{encryptedSearchValue}
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -448,6 +449,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="accountInfoQueryParam.endDateTime != null">
|
<if test="accountInfoQueryParam.endDateTime != null">
|
||||||
and t1.update_time <![CDATA[ <= ]]> #{accountInfoQueryParam.endDateTime}
|
and t1.update_time <![CDATA[ <= ]]> #{accountInfoQueryParam.endDateTime}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="accountInfoQueryParam.userType != null">
|
||||||
|
and t2.user_type = #{accountInfoQueryParam.userType}
|
||||||
|
</if>
|
||||||
<if test="accountInfoQueryParam.walletType != null">
|
<if test="accountInfoQueryParam.walletType != null">
|
||||||
AND EXISTS(
|
AND EXISTS(
|
||||||
SELECT null FROM
|
SELECT null FROM
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@
|
||||||
<if test="param.searchValue != null and param.searchValue != '' ">
|
<if test="param.searchValue != null and param.searchValue != '' ">
|
||||||
and (su.nick_name like CONCAT('%',#{param.searchValue},'%')
|
and (su.nick_name like CONCAT('%',#{param.searchValue},'%')
|
||||||
or su.phonenumber = #{encryptedSearchValue}
|
or su.phonenumber = #{encryptedSearchValue}
|
||||||
|
or su.user_id like CONCAT('%',#{param.searchValue},'%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue