【仓库审核推送泛微】修改
This commit is contained in:
		
							parent
							
								
									585b194b31
								
							
						
					
					
						commit
						2eb9366993
					
				|  | @ -6,6 +6,7 @@ import kd.bos.entity.operate.result.OperationResult; | ||||||
| import kd.bos.entity.plugin.AbstractOperationServicePlugIn; | import kd.bos.entity.plugin.AbstractOperationServicePlugIn; | ||||||
| import kd.bos.entity.plugin.args.AfterOperationArgs; | import kd.bos.entity.plugin.args.AfterOperationArgs; | ||||||
| import kd.bos.servicehelper.BusinessDataServiceHelper; | import kd.bos.servicehelper.BusinessDataServiceHelper; | ||||||
|  | import kd.bos.servicehelper.operation.SaveServiceHelper; | ||||||
| import org.apache.commons.lang3.StringUtils; | import org.apache.commons.lang3.StringUtils; | ||||||
| import tqq9.lc123.cloud.app.plugin.trd.FWImpl; | import tqq9.lc123.cloud.app.plugin.trd.FWImpl; | ||||||
| 
 | 
 | ||||||
|  | @ -24,11 +25,9 @@ public class WarehouseAuditOp extends AbstractOperationServicePlugIn { | ||||||
|                     JSONObject resultJson = JSONObject.parseObject(resultStr); |                     JSONObject resultJson = JSONObject.parseObject(resultStr); | ||||||
|                     String status = resultJson.getString("status"); |                     String status = resultJson.getString("status"); | ||||||
|                     if("1".equals(status)){ |                     if("1".equals(status)){ | ||||||
| 
 |                         dataEntity.set("tqq9_ispushfw", true); | ||||||
|                     }else{ |                         SaveServiceHelper.save(new DynamicObject[]{dataEntity}); | ||||||
|                         String msg = resultJson.getString("result"); |  | ||||||
|                     } |                     } | ||||||
| 
 |  | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue