diff --git a/nflg-mobilebroken-common/src/main/java/com/nflg/mobilebroken/common/pojo/request/ProductHonorAddRequest.java b/nflg-mobilebroken-common/src/main/java/com/nflg/mobilebroken/common/pojo/request/ProductHonorAddRequest.java
index 9780f11d..a81b659d 100644
--- a/nflg-mobilebroken-common/src/main/java/com/nflg/mobilebroken/common/pojo/request/ProductHonorAddRequest.java
+++ b/nflg-mobilebroken-common/src/main/java/com/nflg/mobilebroken/common/pojo/request/ProductHonorAddRequest.java
@@ -6,6 +6,7 @@ import lombok.Data;
import java.time.LocalDate;
import java.util.List;
+import java.util.Objects;
@Data
public class ProductHonorAddRequest {
@@ -15,6 +16,13 @@ public class ProductHonorAddRequest {
*/
private LocalDate obtainingTime;
+ public LocalDate getObtainingTime() {
+ if(Objects.isNull(obtainingTime)){
+ return null;
+ }
+ return obtainingTime.plusDays(1);
+ }
+
/**
* 批次号
*/
diff --git a/nflg-mobilebroken-repository/src/main/resources/mapper/ProductIntroMapper.xml b/nflg-mobilebroken-repository/src/main/resources/mapper/ProductIntroMapper.xml
index 7d926c4b..65d709ca 100644
--- a/nflg-mobilebroken-repository/src/main/resources/mapper/ProductIntroMapper.xml
+++ b/nflg-mobilebroken-repository/src/main/resources/mapper/ProductIntroMapper.xml
@@ -19,7 +19,7 @@
AND pi.publish_time<=#{request.endTime}
- ORDER BY pi.state,pi.sort,pi.dictionary_item_id DESC,pi.publish_time DESC,pi.id DESC
+ ORDER BY pi.state,pi.publish_time DESC,pi.dictionary_item_id DESC,pi.id DESC