|
|
|
@ -47,6 +47,7 @@ public class KrBatchOvertimeCreateAction implements Action {
|
|
|
|
|
DetailTable detailTable = detailTableInfo.getDetailTable()[0];
|
|
|
|
|
Row[] rows = detailTable.getRow();
|
|
|
|
|
boolean isRun = true;
|
|
|
|
|
int index = 1;
|
|
|
|
|
for (Row row : rows) {
|
|
|
|
|
if (!isRun) {
|
|
|
|
|
break;
|
|
|
|
@ -100,7 +101,7 @@ public class KrBatchOvertimeCreateAction implements Action {
|
|
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
|
|
params.put("token", token);
|
|
|
|
|
params.put("personId", personId);
|
|
|
|
|
params.put("billNo", billNo + "-" + row.getId());
|
|
|
|
|
params.put("billNo", billNo + "-" + index);
|
|
|
|
|
params.put("otType", otType);
|
|
|
|
|
params.put("otAdjuest", otAdjuest);
|
|
|
|
|
params.put("beginDate", beginDate);
|
|
|
|
@ -127,6 +128,7 @@ public class KrBatchOvertimeCreateAction implements Action {
|
|
|
|
|
requestInfo.getRequestManager().setMessagecontent(jsonObject.getString("msg"));
|
|
|
|
|
isRun = false;
|
|
|
|
|
}
|
|
|
|
|
index++;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (isRun) {
|
|
|
|
|