Ver Fonte

2021年12月18日14:10:54

hu há 4 anos atrás
pai
commit
832fc7267f

+ 3 - 0
src/rest/openapi/restcontroller/hyworkorder/webapp/hyconfirmationorder/MyHyconfirmationorder.java

@@ -53,6 +53,9 @@ public class MyHyconfirmationorder extends Controller {
             if(!hyconfirmationorder.isEmpty())return getReturnObject_err("ÒÑ´æÔÚн¨µÄÈ·Èϵ¥").toString();
             PaoRemote remote = hyconfirmationorder.addAtEnd();
             remote.setValue("createby",hrid,11l);
+            if(pao.getString("ERRORMSG")!=null && pao.getString("ERRORMSG").length()!=0){
+            	 remote.setValue("PROBLEMMSG", pao.getString("ERRORMSG"));
+            }
             hyconfirmationorder.save();
             Row row=new Row();
             row.put("fbillnum",remote.getString("fbillnum"));