|  | @@ -44,17 +44,28 @@ public class ModService {
 | 
											
												
													
														|  |       * @param mid
 |  |       * @param mid
 | 
											
												
													
														|  |       */
 |  |       */
 | 
											
												
													
														|  |      public static void saveParaByMod(String pid,String mid){
 |  |      public static void saveParaByMod(String pid,String mid){
 | 
											
												
													
														|  | -        MdoProInoutParaMapper sdo = UtilTools.getBean(MdoProInoutParaMapper.class);
 |  | 
 | 
											
												
													
														|  | -        MdoProInoutParaSQLBuilder ssb = new MdoProInoutParaSQLBuilder();
 |  | 
 | 
											
												
													
														|  | -        ssb.createCriteria().andPidEqualTo(mid);
 |  | 
 | 
											
												
													
														|  | -        List<MdoProInoutPara> sList = sdo.selectByExample(ssb);
 |  | 
 | 
											
												
													
														|  | 
 |  | +        MdoProXfoilMapper sdo = UtilTools.getBean(MdoProXfoilMapper.class);
 | 
											
												
													
														|  | 
 |  | +        MdoProXfoilSQLBuilder ssb = new MdoProXfoilSQLBuilder();
 | 
											
												
													
														|  | 
 |  | +        ssb.createCriteria().andPidEqualTo(pid);
 | 
											
												
													
														|  | 
 |  | +        List<MdoProXfoil> sList = sdo.selectByExample(ssb);
 | 
											
												
													
														|  |          if(sList!=null && !sList.isEmpty()){
 |  |          if(sList!=null && !sList.isEmpty()){
 | 
											
												
													
														|  | -            for (MdoProInoutPara s :sList) {
 |  | 
 | 
											
												
													
														|  | -                s.setPid(pid);
 |  | 
 | 
											
												
													
														|  | -                s.setId(UtilTools.getUUid());
 |  | 
 | 
											
												
													
														|  | -                sdo.insert(s);
 |  | 
 | 
											
												
													
														|  | 
 |  | +            for (MdoProXfoil s :sList) {
 | 
											
												
													
														|  | 
 |  | +                MdoProInoutParaMapper indao = UtilTools.getBean(MdoProInoutParaMapper.class);
 | 
											
												
													
														|  | 
 |  | +                MdoProInoutParaSQLBuilder insb = new MdoProInoutParaSQLBuilder();
 | 
											
												
													
														|  | 
 |  | +                ssb.createCriteria().andPidEqualTo(mid);
 | 
											
												
													
														|  | 
 |  | +                List<MdoProInoutPara> inList = indao.selectByExample(insb);
 | 
											
												
													
														|  | 
 |  | +                if(sList!=null && !sList.isEmpty()){
 | 
											
												
													
														|  | 
 |  | +                    for (MdoProInoutPara in :inList) {
 | 
											
												
													
														|  | 
 |  | +                        in.setPid(pid);
 | 
											
												
													
														|  | 
 |  | +                        in.setId(UtilTools.getUUid());
 | 
											
												
													
														|  | 
 |  | +                        in.setFatherid(s.getId());
 | 
											
												
													
														|  | 
 |  | +                        sdo.insert(s);
 | 
											
												
													
														|  | 
 |  | +                    }
 | 
											
												
													
														|  | 
 |  | +                }
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |      /**
 |  |      /**
 | 
											
												
													
														|  |       * xfoil
 |  |       * xfoil
 |