Commit 45d7ad05 by Lee Jaebin

作業状況の変更をデータベースに更新する処理追加

parent a1f25cd5
......@@ -1547,19 +1547,26 @@ public class OperationLogic extends AbstractLogic {
String taskCode = null;
Integer taskStatus = null;
if (taskJson != null) {
// 作業コード取得
Iterator taskKeys = taskJson.keys();
while (taskKeys.hasNext()) {
String itemKey = (String) taskKeys.next();
// 作業コード取得
if (itemKey.startsWith("q_1_")) {
taskCode = taskJson.getString(itemKey);
}
// 報告状況取得
if (itemKey.startsWith("q_3_")) {
taskStatus = taskJson.getInt(itemKey);
}
}
}
if (taskDto != null) {
// 更新
if (taskDto.taskCode != null) {
taskDto.taskCode = taskCode;
}
if (hotSpotInfo != null) {
taskDto.taskHotSpotInfo = hotSpotInfo;
......
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