1.功能开发
This commit is contained in:
		
							parent
							
								
									a3399800c3
								
							
						
					
					
						commit
						1feb440837
					
				|  | @ -83,6 +83,10 @@ public class DailyreimbursHomeCheckOp extends AbstractOperationServicePlugIn { | |||
|                             "id,zcgj_month_times as monthTime", | ||||
|                             visitSetFilterArray, null | ||||
|                     ); | ||||
|                     if(homeDataSet == null || homeDataSet.isEmpty()){ | ||||
|                         String message = String.format("提交人没有往来居家配置。"); | ||||
|                         this.addFatalErrorMessage(extendedDataEntity, message); | ||||
|                     } | ||||
|                     int monthTime = 0; | ||||
|                     for (Row row : homeDataSet) { | ||||
|                         monthTime = row.getInteger("monthTime"); | ||||
|  |  | |||
|  | @ -83,15 +83,20 @@ public class TripreimbursebillIsHomeCheckOp extends AbstractOperationServicePlug | |||
|                             "id,zcgj_month_times as monthTime", | ||||
|                             visitSetFilterArray, null | ||||
|                     ); | ||||
|                     if(homeDataSet == null || homeDataSet.isEmpty()){ | ||||
|                         String message = String.format("提交人没有往来居家配置。"); | ||||
|                         this.addFatalErrorMessage(extendedDataEntity, message); | ||||
|                     } | ||||
|                     int monthTime = 0; | ||||
|                     for (Row row : homeDataSet) { | ||||
|                         monthTime = row.getInteger("monthTime"); | ||||
|                     } | ||||
|                     if(monthTime != 0){ | ||||
|                         DynamicObjectCollection tripentry = dataEntity.getDynamicObjectCollection("zcgj_homeentity");//oa流程分录 | ||||
|                         boolean isOk=true; | ||||
| 
 | ||||
|                         Map<String,Integer> homeentityCountMap = new HashMap<>(); | ||||
|                         int i = 1; | ||||
|                         boolean isOk=true; | ||||
|                         for (DynamicObject dynamicObject : tripentry) { | ||||
|                             Date bxmonth = dynamicObject.getDate("zcgj_bxmonth"); | ||||
|                             String yearMonth = dateFormat.format(bxmonth); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue