bug修改
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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供应商
|
||||
|
||||
@ -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());
|
||||
|
||||
Reference in New Issue
Block a user