用户信息review调整
This commit is contained in:
parent
e013cbcdbc
commit
5733a56e68
@ -17,7 +17,7 @@ import lombok.experimental.Accessors;
|
|||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
@ApiModel(description = "订单发货PO")
|
@ApiModel(description = "订单发货PO")
|
||||||
public class OrderDeliverRequest implements Serializable {
|
public class AdminsOrderDeliverRequest implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单编号
|
* 订单编号
|
@ -17,7 +17,7 @@ import lombok.experimental.Accessors;
|
|||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
@ApiModel("订单item更新")
|
@ApiModel("订单item更新")
|
||||||
public class OrderItemUpdateRequest implements Serializable {
|
public class AdminsOrderItemUpdateRequest implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 编号
|
* 编号
|
@ -17,7 +17,7 @@ import lombok.experimental.Accessors;
|
|||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
@ApiModel("订单物流信息")
|
@ApiModel("订单物流信息")
|
||||||
public class OrderLogisticsRequest implements Serializable {
|
public class AdminsOrderLogisticsRequest implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单 id
|
* 订单 id
|
@ -17,7 +17,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
|||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
@ApiModel("订单查询")
|
@ApiModel("订单查询")
|
||||||
public class OrderPageQueryRequest implements Serializable {
|
public class AdminsOrderPageQueryRequest implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* id
|
* id
|
@ -18,8 +18,8 @@ import java.util.List;
|
|||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
@ApiModel("订单VO")
|
@ApiModel("订单VO")
|
||||||
// TODO FROM 芋艿 to jwf1173:命名要改下,rest 以 Admins 和 Users 开头
|
// TODO FROM 芋艿 to jwf1173:命名要改下,rest 以 Admins 和 Users 开头 [DONE]
|
||||||
public class OrderPageRequest implements Serializable {
|
public class AdminsOrderPageRequest implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分页
|
* 分页
|
@ -15,7 +15,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
public class OrderReturnQueryRequest implements Serializable {
|
public class AdminsOrderReturnQueryRequest implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
@ -26,6 +26,7 @@ public interface UserMapper extends BaseMapper<UserDO> {
|
|||||||
*/
|
*/
|
||||||
default IPage<UserDO> selectUserPage(UserPageDTO userPageDTO) {
|
default IPage<UserDO> selectUserPage(UserPageDTO userPageDTO) {
|
||||||
// TODO FROM 芋艿 to jwf1173:看下 QueryWrapperX 噢,已经提供判空啦
|
// TODO FROM 芋艿 to jwf1173:看下 QueryWrapperX 噢,已经提供判空啦
|
||||||
|
// TODO FROM 伟帆 to 芋艿: 这里是使用MP原生的判空,支持lambda好,还是使用QueryWrapperX,使用字段名字符串的好呢
|
||||||
return this.selectPage(new Page<>(userPageDTO.getPageNo(), userPageDTO.getPageSize()),
|
return this.selectPage(new Page<>(userPageDTO.getPageNo(), userPageDTO.getPageSize()),
|
||||||
Wrappers.<UserDO>query().lambda()
|
Wrappers.<UserDO>query().lambda()
|
||||||
.eq(StringUtils.isNotBlank(userPageDTO.getNickname()), UserDO::getNickname, userPageDTO.getNickname())
|
.eq(StringUtils.isNotBlank(userPageDTO.getNickname()), UserDO::getNickname, userPageDTO.getNickname())
|
||||||
|
Loading…
Reference in New Issue
Block a user