liuliang 1 year ago
commit 7127aae951

@ -39,25 +39,23 @@ public class RevokeLeaveAction implements Action {
List<Map<String, String>> updateList = new ArrayList<>(); List<Map<String, String>> updateList = new ArrayList<>();
if (detailTable.length > 0) { if (detailTable.length > 0) {
for (DetailTable dt : detailTable) { for (DetailTable dt : detailTable) {
log.info("RevokeLeaveAction dt : [{}]",dt.toString());
//明细表 //明细表
Row[] s = dt.getRow(); Row[] s = dt.getRow();
for (Row r : s) { for (Row r : s) {
log.info("RevokeLeaveAction r : [{}]",r.toString());
//行 //行
Cell[] h = r.getCell(); Cell[] h = r.getCell();
for (Cell c : h) { for (Cell c : h) {
log.info("RevokeLeaveAction c : [{}]",c.toString());
//列 //列
Map<String, String> itemMap = new HashMap<>(); Map<String, String> itemMap = new HashMap<>();
String name = Util.null2String(c.getName()); String name = Util.null2String(c.getName());
log.info("RevokeLeaveAction key : {}, value : {}",c.getName(), c.getValue()); log.info("RevokeLeaveAction key : {}, value : {}",c.getName(), c.getValue());
if ("cxsm".equals(name)) { if ("cxsm".equals(name)) {
itemMap.put("cxsm", Util.null2String(c.getValue())); itemMap.put("cxsm", Util.null2String(c.getValue()));
} else if ("cxlyid".equals(name)) { }
if ("cxlyid".equals(name)) {
itemMap.put("cxlyid", Util.null2String(c.getValue())); itemMap.put("cxlyid", Util.null2String(c.getValue()));
updateList.add(itemMap);
} }
updateList.add(itemMap);
} }
} }
} }

Loading…
Cancel
Save