|
|
|
@ -216,46 +216,46 @@ public class BaseProductAttachedServiceImpl implements IBaseProductAttachedServi
|
|
|
|
|
// if (productAttached.getSprayWay().isEmpty() || productAttached.getSprayWay()==null){
|
|
|
|
|
// return error(500, "喷药方式不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
//白坯直径
|
|
|
|
|
if (productAttached.getBlankDiameter().toString().isEmpty() || productAttached.getBlankDiameter()==null){
|
|
|
|
|
return error(500, "白坯直径不能为空!信息导入失败!");
|
|
|
|
|
}
|
|
|
|
|
//白坯物料号
|
|
|
|
|
if (productAttached.getBlankNo().isEmpty() || productAttached.getBlankNo()==null){
|
|
|
|
|
return error(500, "白坯物料号不能为空!信息导入失败!");
|
|
|
|
|
}
|
|
|
|
|
//标准喷药量
|
|
|
|
|
if (productAttached.getSprayVolume().toString().isEmpty() || productAttached.getSprayVolume()==null){
|
|
|
|
|
return error(500, "标准喷药量不能为空!信息导入失败!");
|
|
|
|
|
}
|
|
|
|
|
//药液料号
|
|
|
|
|
if (productAttached.getLiquidNo().isEmpty() || productAttached.getLiquidNo()==null){
|
|
|
|
|
return error(500, "药液料号不能为空!信息导入失败!");
|
|
|
|
|
}
|
|
|
|
|
//标准内膜用量
|
|
|
|
|
if (productAttached.getEndometrialDosage().toString().isEmpty() || productAttached.getEndometrialDosage()==null){
|
|
|
|
|
return error(500, "标准内膜用量不能为空!信息导入失败!");
|
|
|
|
|
}
|
|
|
|
|
//标准外膜用量
|
|
|
|
|
if (productAttached.getOuterFilmDosage().toString().isEmpty() || productAttached.getOuterFilmDosage()==null){
|
|
|
|
|
return error(500, "标准外膜用量不能为空!信息导入失败!");
|
|
|
|
|
}
|
|
|
|
|
//支架
|
|
|
|
|
if (productAttached.getSupport().toString().isEmpty() || productAttached.getSupport()==null){
|
|
|
|
|
return error(500, "支架不能为空!信息导入失败!");
|
|
|
|
|
}
|
|
|
|
|
//支架物料号
|
|
|
|
|
if (productAttached.getSupportNo().isEmpty() || productAttached.getSupportNo()==null){
|
|
|
|
|
return error(500, "支架物料号不能为空!信息导入失败!");
|
|
|
|
|
}
|
|
|
|
|
//吸塑
|
|
|
|
|
if (productAttached.getPvc().toString().isEmpty() || productAttached.getPvc()==null){
|
|
|
|
|
return error(500, "吸塑不能为空!信息导入失败!");
|
|
|
|
|
}
|
|
|
|
|
//支架盘
|
|
|
|
|
if (productAttached.getSupportPlate().toString().isEmpty() || productAttached.getSupportPlate()==null){
|
|
|
|
|
return error(500, "支架盘不能为空!信息导入失败!");
|
|
|
|
|
}
|
|
|
|
|
// //白坯直径
|
|
|
|
|
// if (productAttached.getBlankDiameter().toString().isEmpty() || productAttached.getBlankDiameter()==null){
|
|
|
|
|
// return error(500, "白坯直径不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
// //白坯物料号
|
|
|
|
|
// if (productAttached.getBlankNo().isEmpty() || productAttached.getBlankNo()==null){
|
|
|
|
|
// return error(500, "白坯物料号不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
// //标准喷药量
|
|
|
|
|
// if (productAttached.getSprayVolume().toString().isEmpty() || productAttached.getSprayVolume()==null){
|
|
|
|
|
// return error(500, "标准喷药量不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
// //药液料号
|
|
|
|
|
// if (productAttached.getLiquidNo().isEmpty() || productAttached.getLiquidNo()==null){
|
|
|
|
|
// return error(500, "药液料号不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
// //标准内膜用量
|
|
|
|
|
// if (productAttached.getEndometrialDosage().toString().isEmpty() || productAttached.getEndometrialDosage()==null){
|
|
|
|
|
// return error(500, "标准内膜用量不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
// //标准外膜用量
|
|
|
|
|
// if (productAttached.getOuterFilmDosage().toString().isEmpty() || productAttached.getOuterFilmDosage()==null){
|
|
|
|
|
// return error(500, "标准外膜用量不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
// //支架
|
|
|
|
|
// if (productAttached.getSupport().toString().isEmpty() || productAttached.getSupport()==null){
|
|
|
|
|
// return error(500, "支架不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
// //支架物料号
|
|
|
|
|
// if (productAttached.getSupportNo().isEmpty() || productAttached.getSupportNo()==null){
|
|
|
|
|
// return error(500, "支架物料号不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
// //吸塑
|
|
|
|
|
// if (productAttached.getPvc().toString().isEmpty() || productAttached.getPvc()==null){
|
|
|
|
|
// return error(500, "吸塑不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
// //支架盘
|
|
|
|
|
// if (productAttached.getSupportPlate().toString().isEmpty() || productAttached.getSupportPlate()==null){
|
|
|
|
|
// return error(500, "支架盘不能为空!信息导入失败!");
|
|
|
|
|
// }
|
|
|
|
|
//库检周期
|
|
|
|
|
if (productAttached.getWarehouseCycle().isEmpty() || productAttached.getSupportPlate()==null){
|
|
|
|
|
return error(500, "库检周期不能为空!信息导入失败!");
|
|
|
|
|