wcs接口开发转移

highway
zhaoxiaolin 1 year ago
parent 0f4ba8846c
commit a87eb0a200

@ -14,7 +14,7 @@ import java.util.Date;
* @author Open Platform
* @date 2023-08-03
*/
public class MesPrepare extends BaseEntity {
public class MesPrepareDTO extends BaseEntity {
private static final long serialVersionUID = 1L;
/** 备料单id */

@ -14,7 +14,7 @@ import java.util.Date;
* @author Open Platform
* @date 2023-08-04
*/
public class MesPrepareDetail extends BaseEntity {
public class MesPrepareDetailDTO extends BaseEntity {
private static final long serialVersionUID = 1L;
/** ID */

@ -3,7 +3,7 @@ package com.op.plan.mapper;
import com.op.plan.domain.ProOrder;
import com.op.plan.domain.ProOrderWorkorder;
import com.op.system.api.domain.dto.BaseBomComponentDTO;
import com.op.system.api.domain.dto.MesPrepare;
import com.op.system.api.domain.dto.MesPrepareDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@ -121,7 +121,7 @@ public interface ProOrderWorkorderMapper {
*/
int deleteProOrderWorkorderByOrderId(String id);
void createPrepare(MesPrepare mesPrepare);
void createPrepare(MesPrepareDTO mesPrepareDTO);
ProOrder getOrderCodeById(String workorderId);

@ -6,15 +6,11 @@ import com.op.common.core.utils.DateUtils;
import com.op.common.core.utils.bean.BeanUtils;
import com.op.common.core.utils.uuid.IdUtils;
import com.op.common.core.web.domain.AjaxResult;
import com.op.common.security.utils.SecurityUtils;
import com.op.plan.domain.*;
import com.op.plan.domain.dto.ProOrderDTO;
import com.op.plan.domain.dto.SplitOrderDTO;
import com.op.plan.mapper.*;
import com.op.plan.service.IProOrderWorkorderService;
import com.op.system.api.domain.dto.BaseBomComponentDTO;
import com.op.system.api.domain.dto.BaseBomDTO;
import com.op.system.api.domain.dto.MesPrepare;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@ -22,7 +18,6 @@ import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
import java.util.*;
import java.util.stream.Collectors;
import static com.op.common.core.web.domain.AjaxResult.error;
import static com.op.common.core.web.domain.AjaxResult.success;

Loading…
Cancel
Save