fix(credit): 修正供应商实体字段描述并扩展搜索功能
- 将CreditSupplier实体中的purchaseAmount字段描述从"销售金额"更正为"采购金额" - 更新CreditSupplierImportParam参数类中相应字段的Excel注解描述 - 在CreditSupplierMapper.xml中扩展关键词搜索功能,增加对supplier字段的搜索支持
This commit is contained in:
@@ -39,7 +39,7 @@ public class CreditSupplier implements Serializable {
|
||||
@Schema(description = "状态")
|
||||
private String statusTxt;
|
||||
|
||||
@Schema(description = "销售金额(万元)")
|
||||
@Schema(description = "采购金额(万元)")
|
||||
private String purchaseAmount;
|
||||
|
||||
@Schema(description = "公开日期")
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
<if test="param.keywords != null">
|
||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.supplier LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
|
||||
@@ -18,7 +18,7 @@ public class CreditSupplierImportParam implements Serializable {
|
||||
@Excel(name = "状态")
|
||||
private String statusTxt;
|
||||
|
||||
@Excel(name = "销售金额(万元)")
|
||||
@Excel(name = "采购金额(万元)")
|
||||
private String purchaseAmount;
|
||||
|
||||
@Excel(name = "公开日期")
|
||||
|
||||
Reference in New Issue
Block a user