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 = "状态")
|
@Schema(description = "状态")
|
||||||
private String statusTxt;
|
private String statusTxt;
|
||||||
|
|
||||||
@Schema(description = "销售金额(万元)")
|
@Schema(description = "采购金额(万元)")
|
||||||
private String purchaseAmount;
|
private String purchaseAmount;
|
||||||
|
|
||||||
@Schema(description = "公开日期")
|
@Schema(description = "公开日期")
|
||||||
|
|||||||
@@ -60,6 +60,7 @@
|
|||||||
<if test="param.keywords != null">
|
<if test="param.keywords != null">
|
||||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||||
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
|
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
|
||||||
|
OR a.supplier LIKE CONCAT('%', #{param.keywords}, '%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ public class CreditSupplierImportParam implements Serializable {
|
|||||||
@Excel(name = "状态")
|
@Excel(name = "状态")
|
||||||
private String statusTxt;
|
private String statusTxt;
|
||||||
|
|
||||||
@Excel(name = "销售金额(万元)")
|
@Excel(name = "采购金额(万元)")
|
||||||
private String purchaseAmount;
|
private String purchaseAmount;
|
||||||
|
|
||||||
@Excel(name = "公开日期")
|
@Excel(name = "公开日期")
|
||||||
|
|||||||
Reference in New Issue
Block a user