Showing
3 changed files
with
20 additions
and
0 deletions
| ... | ... | @@ -5,6 +5,8 @@ import java.math.BigDecimal; |
| 5 | 5 | import com.lframework.starter.common.constants.StringPool; |
| 6 | 6 | import com.lframework.starter.web.core.bo.BaseBo; |
| 7 | 7 | import java.time.LocalDate; |
| 8 | +import java.time.LocalDateTime; | |
| 9 | + | |
| 8 | 10 | import com.lframework.xingyun.sc.entity.OrderDetailReport; |
| 9 | 11 | import io.swagger.annotations.ApiModelProperty; |
| 10 | 12 | |
| ... | ... | @@ -279,6 +281,9 @@ public class QueryOrderDetailReportBo extends BaseBo<OrderDetailReport> { |
| 279 | 281 | @ApiModelProperty("排序,订货单:0,撤销单:1,规格变更单:2") |
| 280 | 282 | private Integer showOrder; |
| 281 | 283 | |
| 284 | + @ApiModelProperty("操作时间") | |
| 285 | + private LocalDateTime createTime; | |
| 286 | + | |
| 282 | 287 | public QueryOrderDetailReportBo() { |
| 283 | 288 | |
| 284 | 289 | } | ... | ... |
| ... | ... | @@ -71,4 +71,11 @@ public class QueryOrderDetailReportVo extends PageVo implements BaseVo, Serializ |
| 71 | 71 | @ApiModelProperty("订货日期") |
| 72 | 72 | private String orderDateEnd; |
| 73 | 73 | |
| 74 | + | |
| 75 | + @ApiModelProperty("操作时间") | |
| 76 | + private String createTimeStart; | |
| 77 | + | |
| 78 | + @ApiModelProperty("操作时间") | |
| 79 | + private String createTimeEnd; | |
| 80 | + | |
| 74 | 81 | } | ... | ... |
| ... | ... | @@ -231,6 +231,14 @@ |
| 231 | 231 | AND tb.order_date <= #{vo.orderDateEnd} |
| 232 | 232 | ]]> |
| 233 | 233 | </if> |
| 234 | + <if test="vo.createTimeStart != null"> | |
| 235 | + AND tb.create_time >= #{vo.createTimeStart} | |
| 236 | + </if> | |
| 237 | + <if test="vo.createTimeEnd != null"> | |
| 238 | + <![CDATA[ | |
| 239 | + AND tb.create_time <= #{vo.createTimeEnd} | |
| 240 | + ]]> | |
| 241 | + </if> | |
| 234 | 242 | </where> |
| 235 | 243 | ) t |
| 236 | 244 | ORDER BY | ... | ... |