| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.baomidou.mybatisplus.mapper.Wrapper; |
| | | import com.core.annotations.AppAuth; |
| | | import com.core.annotations.ManagerAuth; |
| | | import com.core.common.BaseRes; |
| | | import com.core.common.Cools; |
| | |
| | | import com.zy.asrs.entity.*; |
| | | import com.zy.asrs.entity.param.CombParam; |
| | | import com.zy.asrs.entity.param.MobileAdjustParam; |
| | | import com.zy.asrs.entity.param.Review; |
| | | import com.zy.asrs.entity.result.MobileAdjustResult; |
| | | import com.zy.asrs.service.*; |
| | | import com.zy.asrs.task.handler.WorkLogHandler; |
| | |
| | | import com.zy.common.model.WrkDto; |
| | | import com.zy.common.utils.HttpHandler; |
| | | import com.zy.common.web.BaseController; |
| | | import com.zy.common.web.param.SearchLocParam; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.transaction.interceptor.TransactionAspectSupport; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.*; |
| | | |
| | | /** |
| | |
| | | |
| | | /*...........................赣州新增..............以下.............赣州新增...........................*/ |
| | | @PostMapping("/test/startUp/auth") |
| | | // @ManagerAuth(memo = "申请PACK测试") |
| | | @ManagerAuth(memo = "申请PACK测试") |
| | | public synchronized R startUpTestPACK(@RequestBody TestMast testMast) { |
| | | if (Cools.isEmpty(testMast)) { |
| | | return R.parse(BaseRes.PARAM); |
| | | } |
| | | //提交测试系统 |
| | | mobileService.startUpTestPACK(testMast); |
| | | |
| | | mobileService.startUpTestPACK(testMast); //提交测试系统 |
| | | return R.ok(); |
| | | } |
| | | @PostMapping("/test/suspend/auth") |
| | | @ManagerAuth(memo = "暂停测试") |
| | | public synchronized R suspendTestPACK() { |
| | | mobileService.suspendTestPACK(); |
| | | // @ManagerAuth(memo = "暂停测试") |
| | | @ResponseBody |
| | | public synchronized R suspendTestPACK(@RequestBody SearchLocParam param) { |
| | | |
| | | mobileService.suspendTestPACK(param.getBarcode()); //请求暂停测试 |
| | | return R.ok(); |
| | | } |
| | | /*...........................赣州新增..............以上.............赣州新增...........................*/ |