|
|
|
@ -39,25 +39,23 @@ public class RevokeLeaveAction implements Action {
|
|
|
|
|
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)) {
|
|
|
|
|
}
|
|
|
|
|
if ("cxlyid".equals(name)) {
|
|
|
|
|
itemMap.put("cxlyid", Util.null2String(c.getValue()));
|
|
|
|
|
updateList.add(itemMap);
|
|
|
|
|
}
|
|
|
|
|
updateList.add(itemMap);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|