| | |
| | | import com.zy.common.model.StartupDto; |
| | | import com.zy.common.service.CommonService; |
| | | import com.zy.common.utils.NodeUtils; |
| | | import com.zy.system.entity.Config; |
| | | import com.zy.system.service.ConfigService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | if (Cools.isEmpty(param.getCombMats())) { |
| | | throw new CoolException("数据不完整,请检查请求参数"); |
| | | } |
| | | |
| | | Config outModel = configService.selectConfigByCode("outModel"); |
| | | if (outModel.getValue().equals("Y")) { |
| | | throw new CoolException("305不允许入库"); |
| | | } |
| | | // |
| | | // Config outModel = configService.selectConfigByCode("outModel"); |
| | | // if (outModel.getValue().equals("Y")) { |
| | | // throw new CoolException("305不允许入库"); |
| | | // } |
| | | |
| | | for (CombParam.CombMat combMat : param.getCombMats()) { |
| | | String batch = combMat.getBatch(); |