| | |
| | | package com.zy.asrs.controller; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.alibaba.fastjson.JSONPObject; |
| | | import com.core.annotations.AppAuth; |
| | | import com.core.common.*; |
| | | import com.core.exception.CoolException; |
| | | import com.zy.asrs.entity.ManLocDetl; |
| | | import com.zy.asrs.entity.OrderDetl; |
| | | import com.zy.asrs.entity.param.*; |
| | | import com.zy.asrs.service.OpenService; |
| | | import com.zy.common.model.DetlDto; |
| | | import com.zy.common.web.BaseController; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | |
| | | } |
| | | |
| | | |
| | | @RequestMapping("/manDetl/add") |
| | | @RequestMapping("/manDetl/in") |
| | | public R manDetlAdd(@RequestBody JSONObject json){ |
| | | String locNo = (String)json.get("locNo"); |
| | | String orderNo = (String)json.get("orderNo"); |
| | | if (json == null){ |
| | | return R.error("传入数据为空"); |
| | | } |
| | | return openService.manDetlIn(json); |
| | | } |
| | | |
| | | return R.ok(); |
| | | |
| | | @RequestMapping("/manDetl/out") |
| | | public R manDetlDelete(@RequestBody JSONObject json){ |
| | | if (json == null){ |
| | | return R.error("传入数据为空"); |
| | | } |
| | | return openService.manDetlOut(json); |
| | | } |
| | | |
| | | |