Commit 5d145056 authored by hongguangwu's avatar hongguangwu

MVP1.6.3-HCM HCM的出差接口-历史单子出行工具、人员,置为空,人数为1

parent 36c4d707
......@@ -327,17 +327,20 @@ public class QiWeiServiceImpl extends ServiceImpl<EkpQiweiChuchaiMapper, EkpQiwi
}
}
}
toolList = JSON.parseArray(formData.getString("出行工具"), JSONObject.class);
int i = 0;
if (toolList != null && !toolList.isEmpty()) {
for (JSONObject tool : toolList) {
if (i++ == 0) {
tools = tool.getString("label");
} else {
tools += ";" + tool.getString("label");
try {
toolList = JSON.parseArray(formData.getString("出行工具"), JSONObject.class);
int i = 0;
if (toolList != null && !toolList.isEmpty()) {
for (JSONObject tool : toolList) {
if (i++ == 0) {
tools = tool.getString("label");
} else {
tools += ";" + tool.getString("label");
}
}
}
} catch (Exception e) {
tools = formData.getString("出行工具");
}
} catch (Exception e ) {
person = "-";
......
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