代码更新
This commit is contained in:
@@ -151,11 +151,14 @@ public class LocalStorageServiceImpl implements LocalStorageService {
|
||||
Long currentUserId = SecurityUtils.getCurrentUserId();
|
||||
String nickName = SecurityUtils.getCurrentNickName();
|
||||
String now = DateUtil.now();
|
||||
List<Map<String, Object>> listMap = EasyExcel.read(path).sheet().doReadSync();
|
||||
List<Map<String, Object>> listMap = EasyExcel.read(path).sheet(1).doReadSync();
|
||||
// listMap.remove(0);
|
||||
for (int i = 0; i < listMap.size(); i++) {
|
||||
Map<String, Object> map = listMap.get(i);
|
||||
String material_code = String.valueOf(map.get(5));
|
||||
if (StrUtil.isEmpty(material_code)){
|
||||
continue;
|
||||
}
|
||||
String material_name = String.valueOf(map.get(6));
|
||||
String unit_code = String.valueOf(map.get(7));
|
||||
JSONObject object = measureunitTab.query("unit_code = '" + unit_code + "'").uniqueResult(0);
|
||||
|
||||
Reference in New Issue
Block a user