|
@@ -2,6 +2,7 @@ package com.steerinfo.dil.controller;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.steerinfo.dil.feign.ESFeign;
|
|
|
+import com.steerinfo.dil.mapper.AmsshipDeliveryNoticeMapper;
|
|
|
import com.steerinfo.dil.model.AmsshipDeliveryAttorney;
|
|
|
import com.steerinfo.dil.model.AmsshipDeliveryNotice;
|
|
|
import com.steerinfo.dil.model.OmsshipShipmentInstructions;
|
|
@@ -46,6 +47,8 @@ public class AmsshipDeliveryNoticeController extends BaseRESTfulController {
|
|
|
@Autowired
|
|
|
ColumnDataUtil columnDataUtil;
|
|
|
@Autowired
|
|
|
+ AmsshipDeliveryNoticeMapper amsshipDeliveryNoticeMapper;
|
|
|
+ @Autowired
|
|
|
ESFeign esFeign;
|
|
|
@ApiOperation(value="展示发货通知单表", notes="分页查询")
|
|
|
@ApiImplicitParams({
|
|
@@ -136,7 +139,9 @@ public class AmsshipDeliveryNoticeController extends BaseRESTfulController {
|
|
|
})
|
|
|
@PostMapping(value = "/editDeliveryNotice", produces = "application/json;charset=UTF-8")
|
|
|
public RESTfulResult editDeliveryNotice(@RequestBody AmsshipDeliveryNotice amsshipDeliveryNotice){
|
|
|
- return success(amsshipDeliveryNotice);
|
|
|
+ amsshipDeliveryNotice.setNoticeId(amsshipDeliveryNotice.getNoticeId());
|
|
|
+ int i = amsshipDeliveryNoticeMapper.updateByPrimaryKeySelective(amsshipDeliveryNotice);
|
|
|
+ return success(i);
|
|
|
}
|
|
|
// 下发
|
|
|
@ApiOperation(value="更新详细信息", notes="根据url的id来指定更新对象,并根据传过来的amsshipDeliveryNotice信息来更新详细信息")
|