|
@@ -1,125 +0,0 @@
|
|
|
-package nc.bs.ic.base;
|
|
|
-
|
|
|
-import com.alibaba.fastjson.JSONArray;
|
|
|
-
|
|
|
-import nc.impl.pubapp.pattern.rule.IRule;
|
|
|
-import nc.vo.pu.m21.entity.OrderVO;
|
|
|
-import net.sf.json.JSONObject;
|
|
|
-
|
|
|
-
|
|
|
- * 采购订单提交后传OA
|
|
|
- * @author Yaoyu
|
|
|
- * 2023/07/17
|
|
|
- */
|
|
|
-public class OrderAfterSubmitEvent implements IRule<OrderVO>{
|
|
|
-
|
|
|
- @Override
|
|
|
- public void process(OrderVO[] vos) {
|
|
|
- for (int i = 0; i < vos.length; i++) {
|
|
|
-
|
|
|
- JSONObject mainData = new JSONObject();
|
|
|
-
|
|
|
- mainData.put("fieldName", null);
|
|
|
- mainData.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject cgzz = new JSONObject();
|
|
|
- cgzz.put("fieldName", null);
|
|
|
- cgzz.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject ddbh = new JSONObject();
|
|
|
- ddbh.put("fieldName", null);
|
|
|
- ddbh.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject ddrq = new JSONObject();
|
|
|
- ddrq.put("fieldName", null);
|
|
|
- ddrq.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject ddlx = new JSONObject();
|
|
|
- ddlx.put("fieldName", null);
|
|
|
- ddlx.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject gys = new JSONObject();
|
|
|
- gys.put("fieldName", null);
|
|
|
- gys.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject jhy = new JSONObject();
|
|
|
- jhy.put("fieldName", null);
|
|
|
- jhy.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject jhbm = new JSONObject();
|
|
|
- jhbm.put("fieldName", null);
|
|
|
- jhbm.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject cgy = new JSONObject();
|
|
|
- cgy.put("fieldName", null);
|
|
|
- cgy.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject cgbm = new JSONObject();
|
|
|
- cgbm.put("fieldName", null);
|
|
|
- cgbm.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject sfxyztb = new JSONObject();
|
|
|
- sfxyztb.put("fieldName", null);
|
|
|
- sfxyztb.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject ywkjxy = new JSONObject();
|
|
|
- ywkjxy.put("fieldName", null);
|
|
|
- ywkjxy.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject ysmc = new JSONObject();
|
|
|
- ysmc.put("fieldName", null);
|
|
|
- ysmc.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject ysbh = new JSONObject();
|
|
|
- ysbh.put("fieldName", null);
|
|
|
- ysbh.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject ysszbm = new JSONObject();
|
|
|
- ysszbm.put("fieldName", null);
|
|
|
- ysszbm.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject sfyfj = new JSONObject();
|
|
|
- sfyfj.put("fieldName", null);
|
|
|
- sfyfj.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject zsl = new JSONObject();
|
|
|
- zsl.put("fieldName", null);
|
|
|
- zsl.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject jshj = new JSONObject();
|
|
|
- jshj.put("fieldName", null);
|
|
|
- jshj.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject bz = new JSONObject();
|
|
|
- bz.put("fieldName", null);
|
|
|
- bz.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject pdqdywht = new JSONObject();
|
|
|
- pdqdywht.put("fieldName", null);
|
|
|
- pdqdywht.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject pdhtsfkjxy = new JSONObject();
|
|
|
- pdhtsfkjxy.put("fieldName", null);
|
|
|
- pdhtsfkjxy.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject pdtyghtglddljje = new JSONObject();
|
|
|
- pdtyghtglddljje.put("fieldName", null);
|
|
|
- pdtyghtglddljje.put("fieldValue", null);
|
|
|
-
|
|
|
- JSONObject pdsfyj = new JSONObject();
|
|
|
- pdsfyj.put("fieldName", null);
|
|
|
- pdsfyj.put("fieldValue", null);
|
|
|
- JSONObject fieldValue = new JSONObject();
|
|
|
- fieldValue.put("filePath", "https://autoaccount.thape.com.cn/uploads/20220908/0a44e9b50b8b6143771eb6eb238ea82a.png");
|
|
|
- fieldValue.put("fileName", "test.png");
|
|
|
-
|
|
|
- JSONArray jsonArray = new JSONArray();
|
|
|
- jsonArray.add(fieldValue);
|
|
|
-
|
|
|
- JSONObject fj = new JSONObject();
|
|
|
-
|
|
|
- fj.put("fieldName", null);
|
|
|
- fj.put("fieldValue", jsonArray);
|
|
|
- }
|
|
|
- }
|
|
|
-}
|