|
|
|
@ -5,6 +5,7 @@ import com.glxp.api.constant.*;
|
|
|
|
|
import com.glxp.api.entity.basic.*;
|
|
|
|
|
import com.glxp.api.entity.inv.InvProductDetailEntity;
|
|
|
|
|
import com.glxp.api.exception.JsonException;
|
|
|
|
|
import com.glxp.api.res.inout.IoOrderDetailCodeResponse;
|
|
|
|
|
import com.glxp.api.service.inout.impl.IoCodeService;
|
|
|
|
|
import com.glxp.api.service.inv.impl.InvProductDetailService;
|
|
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
@ -1126,6 +1127,7 @@ public class IoCodeTempController extends BaseController {
|
|
|
|
|
codeEnttity.setPreSpaceCode(addOrderRequest.getPreCurSpaceCode());
|
|
|
|
|
codeEnttity.setPreInSpaceCode(addOrderRequest.getCheckPreInSpaceCode());
|
|
|
|
|
codeEnttity.setRelId(addOrderRequest.getRelId());
|
|
|
|
|
codeEnttity.setFifoSplit(addOrderRequest.getFifoSplit());
|
|
|
|
|
codeEnttity.setProductType(2);
|
|
|
|
|
codeEnttity.setCount(1);
|
|
|
|
|
String unitFk = null;
|
|
|
|
@ -1576,6 +1578,12 @@ public class IoCodeTempController extends BaseController {
|
|
|
|
|
return ResultVOUtils.error(500, "单据号不能为空!");
|
|
|
|
|
}
|
|
|
|
|
List<IoCodeTempResponse> list = codeTempService.findCodeList(filterCodeRequest);
|
|
|
|
|
for (IoCodeTempResponse ioSplitCodeResponse : list) {
|
|
|
|
|
if (StrUtil.isEmpty(ioSplitCodeResponse.getGgxh())) {
|
|
|
|
|
ioSplitCodeResponse.setGgxh(ioSplitCodeResponse.getBzgg());
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
PageInfo<IoCodeTempResponse> pageInfo = new PageInfo<>(list);
|
|
|
|
|
PageSimpleResponse<IoCodeTempResponse> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|
|
pageSimpleResponse.setTotal(pageInfo.getTotal());
|
|
|
|
|