|
|
|
@ -89,7 +89,7 @@ public class ConfigTreatmentPlanManageServiceImpl implements ConfigTreatmentPlan
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void saveAssert(ConfigTreatmentPlan configDrug){
|
|
|
|
|
Assert.isNull(configDrug.getId(),"id 不为空");
|
|
|
|
|
Assert.isTrue(StrUtil.isEmpty(configDrug.getId()),"id 不为空");
|
|
|
|
|
Assert.notNull(configDrug.getDisposalMethod(),"处置方式不允许为空");
|
|
|
|
|
Assert.isTrue(configDrug.getDisposalMethod()==0 || configDrug.getDisposalMethod()==1,"处置方式不正确");
|
|
|
|
|
|
|
|
|
|