提交 f6fea708 authored 作者: liruixin's avatar liruixin

Merge branch 'v12.4_permanent_taskbar_20240320'

...@@ -7,6 +7,7 @@ import lombok.NoArgsConstructor; ...@@ -7,6 +7,7 @@ import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.ToString; import lombok.ToString;
import java.time.LocalDateTime;
@ApiModel(description = "运单表") @ApiModel(description = "运单表")
...@@ -38,4 +39,12 @@ public class GoingOrderChildVO { ...@@ -38,4 +39,12 @@ public class GoingOrderChildVO {
private String lastArriveSendTime; private String lastArriveSendTime;
@ApiModelProperty(value = "最晚到达目的地时间", example = "2012-01-01 00:00:00")
private String lastArriveReceiveTime;
@ApiModelProperty(value = "最晚装货时间", example = "2012-01-01 00:00:00")
private String lastLoadTime;
} }
\ No newline at end of file
package com.clx.performance.controller.app;
import com.clx.performance.service.DictionaryService;
import com.msl.common.result.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.validation.constraints.NotBlank;
@Slf4j
@RestController
@RequestMapping(value="/app/dictionary")
@Validated
@Api(tags = "承运司机端-字典")
@AllArgsConstructor
public class AppDictionaryController {
private final DictionaryService dictionaryService;
@ApiOperation(value = "字典",notes = "<br>By:李瑞新")
@GetMapping("/getOneByKey")
public Result<String> getOneByKey(@NotBlank(message = "key不能为空") String key) {
return Result.ok(dictionaryService.getOneByKey(key));
}
}
...@@ -1894,6 +1894,8 @@ public class OrderChildServiceImpl implements OrderChildService { ...@@ -1894,6 +1894,8 @@ public class OrderChildServiceImpl implements OrderChildService {
OrderGoods orderGoods = orderGoodsDao.getByOrderGoodsNo(orderChild.getOrderGoodsNo()).orElseThrow( OrderGoods orderGoods = orderGoodsDao.getByOrderGoodsNo(orderChild.getOrderGoodsNo()).orElseThrow(
PerformanceResultEnum.ORDER_INVALID); PerformanceResultEnum.ORDER_INVALID);
orderChildVO.setLastArriveSendTime(LocalDateTimeUtils.convertLocalDateTimeToDefaultString(orderGoods.getLastArriveSendTime())); orderChildVO.setLastArriveSendTime(LocalDateTimeUtils.convertLocalDateTimeToDefaultString(orderGoods.getLastArriveSendTime()));
orderChildVO.setLastArriveReceiveTime(LocalDateTimeUtils.convertLocalDateTimeToDefaultString(orderGoods.getLastArriveReceiveTime()));
orderChildVO.setLastLoadTime(LocalDateTimeUtils.convertLocalDateTimeToDefaultString(orderGoods.getLastLoadTime()));
} }
return orderChildVO; return orderChildVO;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论