|
|
@@ -5586,6 +5586,23 @@ public class FsStoreOrderScrmServiceImpl implements IFsStoreOrderScrmService {
|
|
|
return fsStoreOrderMapper.batchUpdateAuditStatus(param.getOrderIds(), param.getIsAudit());
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public R orderRemark(FsStoreOrderScrm orderScrm) {
|
|
|
+ FsStoreOrderScrm order = fsStoreOrderMapper.selectFsStoreOrderById(orderScrm.getId());
|
|
|
+ if (order != null) {
|
|
|
+ FsStoreOrderScrm map = new FsStoreOrderScrm();
|
|
|
+ map.setId(orderScrm.getId());
|
|
|
+ map.setOrderRemark(orderScrm.getOrderRemark());
|
|
|
+
|
|
|
+ if (fsStoreOrderMapper.updateFsStoreOrder(map) > 0) {
|
|
|
+ return R.ok();
|
|
|
+ } else {
|
|
|
+ return R.error("备注失败");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return R.error("未找到订单");
|
|
|
+ }
|
|
|
+
|
|
|
private static final DateTimeFormatter CST_FORMATTER = DateTimeFormatter
|
|
|
.ofPattern("EEE MMM dd HH:mm:ss zzz yyyy", Locale.US)
|
|
|
.withZone(ZoneId.of("Asia/Shanghai"));
|