bug修改

This commit is contained in:
lg
2025-10-25 20:19:21 +08:00
parent 23572dfc07
commit 199f51ea21
4 changed files with 3 additions and 7 deletions

View File

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

View File

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

View File

@ -70,7 +70,6 @@ public class XzdCustomerSupplierYybServiceImpl extends ServiceImpl<XzdCustomerSu
} }
private LambdaQueryWrapper<XzdCustomerSupplierYyb> buildQueryWrapper(XzdCustomerSupplierYybBo bo) { private LambdaQueryWrapper<XzdCustomerSupplierYyb> buildQueryWrapper(XzdCustomerSupplierYybBo bo) {
Map<String, Object> params = bo.getParams();
LambdaQueryWrapper<XzdCustomerSupplierYyb> lqw = Wrappers.lambdaQuery(); LambdaQueryWrapper<XzdCustomerSupplierYyb> lqw = Wrappers.lambdaQuery();
lqw.orderByDesc(XzdCustomerSupplierYyb::getId); lqw.orderByDesc(XzdCustomerSupplierYyb::getId);
lqw.eq(bo.getCSId() != null, XzdCustomerSupplierYyb::getCSId, bo.getCSId()); lqw.eq(bo.getCSId() != null, XzdCustomerSupplierYyb::getCSId, bo.getCSId());

View File

@ -70,7 +70,6 @@ public class XzdCustomertypeInfoServiceImpl extends ServiceImpl<XzdCustomertypeI
} }
private LambdaQueryWrapper<XzdCustomertypeInfo> buildQueryWrapper(XzdCustomertypeInfoBo bo) { private LambdaQueryWrapper<XzdCustomertypeInfo> buildQueryWrapper(XzdCustomertypeInfoBo bo) {
Map<String, Object> params = bo.getParams();
LambdaQueryWrapper<XzdCustomertypeInfo> lqw = Wrappers.lambdaQuery(); LambdaQueryWrapper<XzdCustomertypeInfo> lqw = Wrappers.lambdaQuery();
lqw.eq(StringUtils.isNotBlank(bo.getType()), XzdCustomertypeInfo::getType, bo.getType()); lqw.eq(StringUtils.isNotBlank(bo.getType()), XzdCustomertypeInfo::getType, bo.getType());
lqw.eq(bo.getCustomerinformationId() != null, XzdCustomertypeInfo::getCustomerinformationId, bo.getCustomerinformationId()); lqw.eq(bo.getCustomerinformationId() != null, XzdCustomertypeInfo::getCustomerinformationId, bo.getCustomerinformationId());