用户信息review调整

This commit is contained in:
jwf1173 2020-05-14 08:55:35 +08:00
parent e013cbcdbc
commit 5733a56e68
7 changed files with 8 additions and 7 deletions

View File

@ -17,7 +17,7 @@ import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
@ApiModel(description = "订单发货PO")
public class OrderDeliverRequest implements Serializable {
public class AdminsOrderDeliverRequest implements Serializable {
/**
* 订单编号

View File

@ -17,7 +17,7 @@ import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
@ApiModel("订单item更新")
public class OrderItemUpdateRequest implements Serializable {
public class AdminsOrderItemUpdateRequest implements Serializable {
/**
* 编号

View File

@ -17,7 +17,7 @@ import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
@ApiModel("订单物流信息")
public class OrderLogisticsRequest implements Serializable {
public class AdminsOrderLogisticsRequest implements Serializable {
/**
* 订单 id

View File

@ -17,7 +17,7 @@ import org.springframework.format.annotation.DateTimeFormat;
@Data
@Accessors(chain = true)
@ApiModel("订单查询")
public class OrderPageQueryRequest implements Serializable {
public class AdminsOrderPageQueryRequest implements Serializable {
/**
* id

View File

@ -18,8 +18,8 @@ import java.util.List;
@Data
@Accessors(chain = true)
@ApiModel("订单VO")
// TODO FROM 芋艿 to jwf1173命名要改下rest Admins Users 开头
public class OrderPageRequest implements Serializable {
// TODO FROM 芋艿 to jwf1173命名要改下rest Admins Users 开头 [DONE]
public class AdminsOrderPageRequest implements Serializable {
/**
* 分页

View File

@ -15,7 +15,7 @@ import org.springframework.format.annotation.DateTimeFormat;
*/
@Data
@Accessors(chain = true)
public class OrderReturnQueryRequest implements Serializable {
public class AdminsOrderReturnQueryRequest implements Serializable {
/**
*

View File

@ -26,6 +26,7 @@ public interface UserMapper extends BaseMapper<UserDO> {
*/
default IPage<UserDO> selectUserPage(UserPageDTO userPageDTO) {
// TODO FROM 芋艿 to jwf1173看下 QueryWrapperX 已经提供判空啦
// TODO FROM 伟帆 to 芋艿 这里是使用MP原生的判空支持lambda好还是使用QueryWrapperX使用字段名字符串的好呢
return this.selectPage(new Page<>(userPageDTO.getPageNo(), userPageDTO.getPageSize()),
Wrappers.<UserDO>query().lambda()
.eq(StringUtils.isNotBlank(userPageDTO.getNickname()), UserDO::getNickname, userPageDTO.getNickname())