first commit

This commit is contained in:
陈现府
2025-11-20 10:45:16 +08:00
commit 8355431361
2643 changed files with 291314 additions and 0 deletions
@@ -0,0 +1,63 @@
<?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.mhd.basic.domain.platformUseTime.repository.mapper.PlatformUseTimeMapper">
<resultMap type="com.mhd.basic.domain.platformUseTime.repository.po.PlatformUseTimePO" id="PlatformUseTimeResult">
<result property="platformUseTimeId" column="platform_use_time_id" />
<result property="organizationId" column="organization_id" />
<result property="organizationName" column="organization_name" />
<result property="topOrganizationId" column="top_organization_id" />
<result property="platformId" column="platform_id" />
<result property="startTime" column="start_time" />
<result property="endTime" column="end_time" />
<result property="remark" column="remark" />
<result property="createTime" column="create_time" />
<result property="createBy" column="create_by" />
<result property="createByName" column="create_by_name" />
<result property="updateTime" column="update_time" />
<result property="updateBy" column="update_by" />
<result property="updateByName" column="update_by_name" />
<result property="delFlag" column="del_flag" />
</resultMap>
<sql id="selectPlatformUseTimePo">
select platform_use_time_id, organization_id, organization_name, top_organization_id, platform_id, start_time, end_time, remark, create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag from platform_use_time
</sql>
<sql id="selectPlatformUseTimePo1">
<where>
<if test="organizationId != null ">
and organization_id = #{organizationId}
</if>
<if test="organizationName != null and organizationName != ''">
and organization_name like concat('%', #{organizationName}, '%')
</if>
<if test="topOrganizationId != null ">
and top_organization_id = #{topOrganizationId}
</if>
<if test="platformId != null ">
and platform_id = #{platformId}
</if>
<if test="startTime != null ">
and start_time = #{startTime}
</if>
<if test="endTime != null ">
and end_time = #{endTime}
</if>
<if test="createByName != null and createByName != ''">
and create_by_name like concat('%', #{createByName}, '%')
</if>
<if test="updateByName != null and updateByName != ''">
and update_by_name like concat('%', #{updateByName}, '%')
</if>
</where>
</sql>
<select id="queryList" parameterType="com.mhd.basic.domain.platformUseTime.repository.todo.PlatformUseTimeDO" resultMap="PlatformUseTimeResult">
<include refid="selectPlatformUseTimePo"/>
<include refid="selectPlatformUseTimePo1"/>
</select>
</mapper>