@@ -20,6 +20,12 @@ import java.util.List;
@Service
public class TFFlowLogServiceImpl extends ServiceImpl<TFFlowLogMapper, TFFlowLog> implements TFFlowLogService {
+ /**
+ * 根据实体id查询
+ *
+ * @param objectId
+ * @return
+ */
@Override
public List<TFFlowLogResult> findByObjectId(Long objectId) {
return this.baseMapper.findByObjectId(objectId);
@@ -55,6 +55,6 @@
where
tffl.object_id = #{objectId}
order by
- tffl.create_time
+ tffl.create_time desc
</select>
</mapper>