|
@@ -86,14 +86,13 @@ public class hyordernode extends PaoCust {
|
|
|
}
|
|
}
|
|
|
//是否上传文本
|
|
//是否上传文本
|
|
|
if(getBoolean("fistext")&&!hyflowworkset.isEmpty()&&hyflowworkset.getPao(0).getBoolean("ffistext")){
|
|
if(getBoolean("fistext")&&!hyflowworkset.isEmpty()&&hyflowworkset.getPao(0).getBoolean("ffistext")){
|
|
|
- if(isNull("ftext"))return "请填写完整工序内容:没有添加文本";
|
|
|
|
|
|
|
+
|
|
|
|
|
+ if(isNull("ftext")||getString("ftext").equals("null"))return "请填写完整工序内容:没有添加文本";
|
|
|
}
|
|
}
|
|
|
//是否上传合同
|
|
//是否上传合同
|
|
|
if(getBoolean("fiscontract")&&!hyflowworkset.isEmpty()&&hyflowworkset.getPao(0).getBoolean("ffiscontract")){
|
|
if(getBoolean("fiscontract")&&!hyflowworkset.isEmpty()&&hyflowworkset.getPao(0).getBoolean("ffiscontract")){
|
|
|
PaoSetRemote doclinks =null;
|
|
PaoSetRemote doclinks =null;
|
|
|
-
|
|
|
|
|
doclinks = P2Server.getP2Server().getPaoSet("tattachment", P2Server.getP2Server().getSystemUserInfo());
|
|
doclinks = P2Server.getP2Server().getPaoSet("tattachment", P2Server.getP2Server().getSystemUserInfo());
|
|
|
-
|
|
|
|
|
doclinks.setWhere("ownertable='HYORDERNODE' and ownerid="+getInt("hyORDERNODEid")+" and type='合同'");
|
|
doclinks.setWhere("ownertable='HYORDERNODE' and ownerid="+getInt("hyORDERNODEid")+" and type='合同'");
|
|
|
doclinks.reset();
|
|
doclinks.reset();
|
|
|
if(doclinks.isEmpty())return "请填写完整工序内容:合同没有上传";
|
|
if(doclinks.isEmpty())return "请填写完整工序内容:合同没有上传";
|