Commit 6a405f8a authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/MVP1.5.2' into MVP1.5.2

parents 94bc0d5c 7db9d4c3
...@@ -52,9 +52,9 @@ public class TBankSet extends BaseEntity { ...@@ -52,9 +52,9 @@ public class TBankSet extends BaseEntity {
/** /**
* bankName * bankName
*/ */
@ExcelAttribute(name = "开户行", isNotEmpty = true, errorInfo = "开户行不能为空", maxLength = 50) @ExcelAttribute(name = "开户行", isNotEmpty = true, errorInfo = "开户行不能为空", maxLength = 100)
@NotBlank(message = "开户行不能为空") @NotBlank(message = "开户行不能为空")
@Length(max = 50, message = "开户行不能超过50个字符") @Length(max = 100, message = "开户行不能超过100个字符")
@ExcelProperty("开户行") @ExcelProperty("开户行")
@Schema(description = "开户行") @Schema(description = "开户行")
private String bankName; private String bankName;
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
AND a.ID = #{tBankSet.id} AND a.ID = #{tBankSet.id}
</if> </if>
<if test="tBankSet.bankName != null and tBankSet.bankName.trim() != ''"> <if test="tBankSet.bankName != null and tBankSet.bankName.trim() != ''">
AND a.BANK_NAME = #{tBankSet.bankName} AND a.BANK_NAME like concat('%', #{tBankSet.bankName},'%')
</if> </if>
<if test="tBankSet.createBy != null and tBankSet.createBy.trim() != ''"> <if test="tBankSet.createBy != null and tBankSet.createBy.trim() != ''">
AND a.CREATE_BY = #{tBankSet.createBy} AND a.CREATE_BY = #{tBankSet.createBy}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment