feat: 3d模型
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.central.device.mapper.ThreeDModelFileMapper">
|
||||
|
||||
<!-- 分页查询 -->
|
||||
<select id="findList" resultType="com.central.device.model.ThreeDModelFile">
|
||||
SELECT * FROM 3d_model_file t
|
||||
WHERE t.is_del = 0
|
||||
<if test="p.modelName != null and p.modelName != ''">
|
||||
AND t.model_name LIKE CONCAT('%', #{p.modelName}, '%')
|
||||
</if>
|
||||
<if test="p.modelType != null">
|
||||
AND t.model_type = #{p.modelType}
|
||||
</if>
|
||||
<if test="p.tourismId != null">
|
||||
AND t.tourism_id = #{p.tourismId}
|
||||
</if>
|
||||
<if test="p.tourismName != null and p.tourismName != ''">
|
||||
AND t.tourism_name LIKE CONCAT('%', #{p.tourismName}, '%')
|
||||
</if>
|
||||
<if test="p.workspaceId != null and p.workspaceId != ''">
|
||||
AND t.workspace_id = #{p.workspaceId}
|
||||
</if>
|
||||
<if test="p.status != null">
|
||||
AND t.status = #{p.status}
|
||||
</if>
|
||||
<if test="p.uploadStatus != null">
|
||||
AND t.upload_status = #{p.uploadStatus}
|
||||
</if>
|
||||
<if test="p.tenantId != null and p.tenantId != ''">
|
||||
AND t.tenant_id = #{p.tenantId}
|
||||
</if>
|
||||
<if test="p.sourceType != null and p.sourceType != ''">
|
||||
AND t.source_type = #{p.sourceType}
|
||||
</if>
|
||||
<if test="p.startTime != null">
|
||||
AND t.create_time >= #{p.startTime}
|
||||
</if>
|
||||
<if test="p.endTime != null">
|
||||
AND t.create_time <= #{p.endTime}
|
||||
</if>
|
||||
ORDER BY t.create_time DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user