Commit 8a85b027 by Kang Donghun

#73480 アプリインストール後、初期同期エラー対応

parent 10e245df
......@@ -618,6 +618,12 @@ public class OperationDao extends AbstractDao {
}
public List<OperationDto> getNeedSyncAllOperation() {
return rawQueryGetDtoList("select tp.*, rpc.content_id from t_operation AS tp left outer join r_operation_content AS rpc on tp.operation_id = rpc.operation_id where tp.need_sync_flg = 1", null, OperationDto.class);
return rawQueryGetDtoList(
"select tp.*, rpc.content_id from t_operation AS tp "
+ "left outer join r_operation_content AS rpc on tp.operation_id = rpc.operation_id "
+ "and rpc.operation_content_flg = 1 "
+ "where tp.need_sync_flg = 1",
null,
OperationDto.class);
}
}
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