wms接口修改添加注解

master
mengjiao 3 weeks ago
parent 92620519da
commit 16d966b6d8

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.op.common.core.utils.uuid.IdUtils;
import com.op.wms.service.IOdsProcureOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
@ -24,7 +25,7 @@ import com.op.common.core.utils.poi.ExcelUtil;
import com.op.common.core.web.page.TableDataInfo;
/**
* Controller
* Controllers
*
* @author Open Platform
* @date 2023-07-06
@ -34,7 +35,8 @@ import com.op.common.core.web.page.TableDataInfo;
public class OdsProcureOutOrderController extends BaseController {
@Autowired
private IOdsProcureOutOrderService odsProcureOutOrderService;
@Autowired
private IOdsProcureOrderService odsProcureOrderService;
/**
*
*/
@ -174,4 +176,15 @@ public class OdsProcureOutOrderController extends BaseController {
String result = odsProcureOutOrderService.addwmsFpStorageNewsTS(orderList);
return success(result);
}
/**
* 退
*
* @param orderList
* @return
*/
@PostMapping("/OutboundPostingzcSAPTH")
public AjaxResult OutboundPostingzcSAPTH(@RequestBody List<OdsProcureOutOrder> orderList) {
odsProcureOrderService.OutboundPostingzcSAPTH(orderList);
return success();
}
}

@ -1674,6 +1674,7 @@ public class OdsProcureOrderServiceImpl implements IOdsProcureOrderService {
}
@Override
@DS("#header.poolName")
public void OutboundPostingzcSAPTH(List<OdsProcureOutOrder> orderList) {
//先根据出库单获取
// * 退料的移动类型为 262

@ -241,7 +241,10 @@ public class OdsProcureOutOrderServiceImpl implements IOdsProcureOutOrderService
@DS("#header.poolName")
public List<OdsProcureOutOrder> listReturnDY(OdsProcureOutOrder odsProcureOutOrder) {
List<OdsProcureOutOrder> orderList = odsProcureOutOrderMapper.selectOdsProcureReturnOrderListZC(odsProcureOutOrder);
return orderList;
OdsProcureOutOrder order=new OdsProcureOutOrder();
order.setProduceCode(orderList.get(0).getProduceCode());
List<OdsProcureOutOrder> odsProcureOutOrders = odsProcureOutOrderMapper.selectOdsProcureReturnOrderListZC(order);
return odsProcureOutOrders;
}
//特殊出库
@Override

@ -1472,6 +1472,7 @@
<if test="Active != null and Active != ''"> and Active = #{Active}</if>
<if test="enterpriseId != null and enterpriseId != ''"> and Enterprise_Id = #{enterpriseId}</if>
<if test="enterpriseCode != null and enterpriseCode != ''"> and Enterprise_Code = #{enterpriseCode}</if>
<if test="ID != null and ID != ''"> and ID = #{ID}</if>
</where>
ORDER BY User_Defined4 DESC
</select>

Loading…
Cancel
Save