bug修改

This commit is contained in:
lg
2025-10-25 20:23:02 +08:00
parent 199f51ea21
commit 169b76589c
4 changed files with 6 additions and 7 deletions

View File

@ -14,9 +14,9 @@ import java.io.Serial;
* @date 2025-09-30
*/
@Data
//@EqualsAndHashCode(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("xzd_customertype_info")
public class XzdCustomertypeInfo {
public class XzdCustomertypeInfo extends BaseEntity {
@Serial
private static final long serialVersionUID = 1L;

View File

@ -16,12 +16,11 @@ import jakarta.validation.constraints.*;
* @date 2025-10-24
*/
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = XzdCustomerSupplier.class, reverseConvertGenerate = false)
public class XzdCustomerSupplierBo extends BaseEntity {
public class XzdCustomerSupplierBo {
/**
*
*
*/
@NotNull(message = "不能为空", groups = { EditGroup.class })
private Long id;

View File

@ -16,8 +16,9 @@ import jakarta.validation.constraints.*;
* @date 2025-09-30
*/
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = XzdCustomertypeInfo.class, reverseConvertGenerate = false)
public class XzdCustomertypeInfoBo {
public class XzdCustomertypeInfoBo extends BaseEntity {
/**
* 1客户 2供应商

View File

@ -72,7 +72,6 @@ public class XzdCustomerSupplierServiceImpl extends ServiceImpl<XzdCustomerSuppl
}
private LambdaQueryWrapper<XzdCustomerSupplier> buildQueryWrapper(XzdCustomerSupplierBo bo) {
Map<String, Object> params = bo.getParams();
LambdaQueryWrapper<XzdCustomerSupplier> lqw = Wrappers.lambdaQuery();
lqw.orderByDesc(XzdCustomerSupplier::getId);
lqw.eq(StringUtils.isNotBlank(bo.getType()), XzdCustomerSupplier::getType, bo.getType());