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,40 @@
<?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.linke.product.domain.commonFunctions.repository.mapper.CommonFunctionsMapper">
<sql id="selectCommonFunctionsPo1">
<if test="commonFunctionsDO.createByName != null and commonFunctionsDO.createByName != ''">
and create_by_name like concat('%', #{commonFunctionsDO.createByName}, '%')
</if>
<if test="commonFunctionsDO.updateByName != null and commonFunctionsDO.updateByName != ''">
and update_by_name like concat('%', #{commonFunctionsDO.updateByName}, '%')
</if>
<if test="commonFunctionsDO.topOrganizationId != null ">
and top_organization_id = #{commonFunctionsDO.topOrganizationId}
</if>
<if test="commonFunctionsDO.organizationId != null ">
and organization_id = #{commonFunctionsDO.organizationId}
</if>
<if test="commonFunctionsDO.organizationName != null and commonFunctionsDO.organizationName != ''">
and organization_name like concat('%', #{commonFunctionsDO.organizationName}, '%')
</if>
<if test="commonFunctionsDO.userId != null ">
and user_id = #{commonFunctionsDO.userId}
</if>
<if test="commonFunctionsDO.menuId != null ">
and menu_id = #{commonFunctionsDO.menuId}
</if>
</sql>
<select id="queryList" parameterType="com.linke.product.domain.commonFunctions.repository.todo.CommonFunctionsDO"
resultType="com.linke.product.domain.commonFunctions.repository.po.CommonFunctionsPO">
select
*
from common_functions
where del_flag = 1
<include refid="selectCommonFunctionsPo1"/>
order by create_time DESC
</select>
</mapper>