|
@ -45,11 +45,7 @@ public class ChildFamilyImmuneService extends BaseService {
|
|
|
public void addFamilyMembers(ChildInfo childInfo, String uid, String idcard, String ssc,Integer relation) throws Exception {
|
|
|
|
|
|
ChildFamilyImmune childFamilyImmune = new ChildFamilyImmune();
|
|
|
if(childInfo.getId() == null
|
|
|
|| StringUtils.isBlank(childInfo.getIdcard())
|
|
|
|| StringUtils.isBlank(childInfo.getSsc())){
|
|
|
childInfo.setIdcard(idcard);
|
|
|
childInfo.setSsc(ssc);
|
|
|
if(childInfo.getId() == null){
|
|
|
childInfoDao.save(childInfo);
|
|
|
}else{
|
|
|
childFamilyImmune = childFamilyImmuneDao.findByfaAndChildCodeAndFamilyCode(childInfo.getCode(),uid);
|