fix:焊接下线,手持在线升级
This commit is contained in:
@@ -33,7 +33,7 @@ public class RegionConstant {
|
||||
/**
|
||||
* 焊接半成品
|
||||
*/
|
||||
public static final String WELDING_SEMI_MATERIAL_SIDE = "6.009";
|
||||
public static final String WELDING_SEMI_MATERIAL_SIDE = "6.004";
|
||||
|
||||
/**
|
||||
* 喷涂半成品
|
||||
|
||||
@@ -6,6 +6,7 @@ import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.nl.common.domain.constant.RegionConstant;
|
||||
import org.nl.common.exception.BadRequestException;
|
||||
import org.nl.common.utils.CodeUtil;
|
||||
import org.nl.common.utils.IdUtil;
|
||||
@@ -160,7 +161,7 @@ public class MesToWmsServiceImpl implements MesToWmsService {
|
||||
@Transactional
|
||||
@Override
|
||||
public void confirmWorkOrder(LoadMatDto param) {
|
||||
String storCode = param.getWarehouseCode();
|
||||
String storCode = StringUtils.isEmpty(param.getWarehouseCode()) ? RegionConstant.WELDING_SEMI_MATERIAL_SIDE : param.getWarehouseCode();
|
||||
String orderCode = param.getOrderCode();
|
||||
WorkOrderDao workOrder = workOrderService.getOne(new LambdaQueryWrapper<WorkOrderDao>()
|
||||
.eq(WorkOrderDao::getOrder_code, orderCode));
|
||||
|
||||
@@ -3,7 +3,6 @@ package org.nl.wms.system_manage.controller.appversion;
|
||||
import cn.dev33.satoken.annotation.SaIgnore;
|
||||
import org.nl.common.base.ResponseData;
|
||||
import org.nl.common.domain.query.PageQuery;
|
||||
import org.nl.common.logging.annotation.Log;
|
||||
import org.nl.wms.system_manage.service.appversion.IAppVersionService;
|
||||
import org.nl.wms.system_manage.service.appversion.dao.AppVersion;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -12,12 +11,7 @@ import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.util.StreamUtils;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
@@ -40,7 +34,6 @@ public class AppVersionController {
|
||||
}
|
||||
|
||||
@PostMapping("/publish")
|
||||
@Log("发布新版本APP")
|
||||
public ResponseEntity<Object> publish(@RequestParam("app_name") String appName,
|
||||
@RequestParam("version_name") String versionName,
|
||||
@RequestParam("file") MultipartFile file) {
|
||||
|
||||
Reference in New Issue
Block a user