|
@@ -286,7 +286,11 @@ public class TemplateGenerator {
|
|
|
for (MdoProInoutPara para:paras) {
|
|
|
ParaVo vo = new ParaVo();
|
|
|
String uid ;
|
|
|
- uid =MdoUidUtils.getUidByComTyeAndPcode(para.getComtype().toString(),para.getCode());
|
|
|
+ if(para.getFcomtype()!=null){//来源
|
|
|
+ uid =MdoUidUtils.getUidByComTyeAndPcode(para.getFcomtype().toString(),para.getCode());
|
|
|
+ }else{
|
|
|
+ uid =MdoUidUtils.getUidByComTyeAndPcode(para.getComtype().toString(),para.getCode());
|
|
|
+ }
|
|
|
vo.setUid(uid);
|
|
|
vo.setLable(para.getName());
|
|
|
inParaVos.add(vo);
|