bug修改
This commit is contained in:
@ -16,12 +16,11 @@ import jakarta.validation.constraints.*;
|
||||
* @date 2025-10-24
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = XzdCustomerSupplierYyb.class, reverseConvertGenerate = false)
|
||||
public class XzdCustomerSupplierYybBo extends BaseEntity {
|
||||
public class XzdCustomerSupplierYybBo {
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
@NotNull(message = "不能为空", groups = { EditGroup.class })
|
||||
private Long id;
|
||||
|
||||
@ -16,9 +16,8 @@ import jakarta.validation.constraints.*;
|
||||
* @date 2025-09-30
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AutoMapper(target = XzdCustomertypeInfo.class, reverseConvertGenerate = false)
|
||||
public class XzdCustomertypeInfoBo extends BaseEntity {
|
||||
public class XzdCustomertypeInfoBo {
|
||||
|
||||
/**
|
||||
* 1客户 2供应商
|
||||
|
||||
@ -70,7 +70,6 @@ public class XzdCustomerSupplierYybServiceImpl extends ServiceImpl<XzdCustomerSu
|
||||
}
|
||||
|
||||
private LambdaQueryWrapper<XzdCustomerSupplierYyb> buildQueryWrapper(XzdCustomerSupplierYybBo bo) {
|
||||
Map<String, Object> params = bo.getParams();
|
||||
LambdaQueryWrapper<XzdCustomerSupplierYyb> lqw = Wrappers.lambdaQuery();
|
||||
lqw.orderByDesc(XzdCustomerSupplierYyb::getId);
|
||||
lqw.eq(bo.getCSId() != null, XzdCustomerSupplierYyb::getCSId, bo.getCSId());
|
||||
|
||||
@ -70,7 +70,6 @@ public class XzdCustomertypeInfoServiceImpl extends ServiceImpl<XzdCustomertypeI
|
||||
}
|
||||
|
||||
private LambdaQueryWrapper<XzdCustomertypeInfo> buildQueryWrapper(XzdCustomertypeInfoBo bo) {
|
||||
Map<String, Object> params = bo.getParams();
|
||||
LambdaQueryWrapper<XzdCustomertypeInfo> lqw = Wrappers.lambdaQuery();
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getType()), XzdCustomertypeInfo::getType, bo.getType());
|
||||
lqw.eq(bo.getCustomerinformationId() != null, XzdCustomertypeInfo::getCustomerinformationId, bo.getCustomerinformationId());
|
||||
|
||||
Reference in New Issue
Block a user