考勤,销差action添加日志

zm_dev
sy 1 year ago
parent 84c86763d9
commit 0dba768533

@ -9,10 +9,7 @@ import weaver.soa.workflow.request.*;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.*;
/**
* @Author: sy
@ -38,19 +35,23 @@ public class RevokeLeaveAction implements Action {
// }
DetailTable[] detailTable = requestInfo.getDetailTableInfo().getDetailTable();
log.info("RevokeLeaveAction detailTable : [{}]",detailTable);
log.info("RevokeLeaveAction detailTable : [{}], length : {}", Arrays.toString(detailTable), detailTable.length);
List<Map<String, String>> updateList = new ArrayList<>();
if (detailTable.length > 0) {
for (DetailTable dt : detailTable) {
log.info("RevokeLeaveAction dt : [{}]",dt.toString());
//明细表
Row[] s = dt.getRow();
for (Row r : s) {
log.info("RevokeLeaveAction r : [{}]",r.toString());
//行
Cell[] h = r.getCell();
for (Cell c : h) {
log.info("RevokeLeaveAction c : [{}]",c.toString());
//列
Map<String, String> itemMap = new HashMap<>();
String name = Util.null2String(c.getName());
log.info("RevokeLeaveAction key : {}, value : {}",c.getName(), c.getValue());
if ("cxsm".equals(name)) {
itemMap.put("cxsm", Util.null2String(c.getValue()));
} else if ("cxlyid".equals(name)) {

Loading…
Cancel
Save