Commit 3d0cfe59 by 284718418@qq.com

导入/导出假期余额

parent facc1a6f
...@@ -1795,6 +1795,9 @@ public class TimeCardController { ...@@ -1795,6 +1795,9 @@ public class TimeCardController {
JSONArray jsonArray = (JSONArray)o; JSONArray jsonArray = (JSONArray)o;
for (Object object :jsonArray) { for (Object object :jsonArray) {
JSONObject jsonObject = (JSONObject)object; JSONObject jsonObject = (JSONObject)object;
if(StringUtils.isEmpty(jsonObject.get("empnum"))){
continue;
}
String empnum = jsonObject.get("empnum").toString(); String empnum = jsonObject.get("empnum").toString();
for (Map.Entry<String, Object> entity:jsonObject.entrySet()) { for (Map.Entry<String, Object> entity:jsonObject.entrySet()) {
log.info("entity key:{},vlue{}",entity.getKey(),entity.getValue()); log.info("entity key:{},vlue{}",entity.getKey(),entity.getValue());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment