feat: add dashboard and virtual pay enhancements

This commit is contained in:
王鹏
2026-07-29 14:34:54 +08:00
parent 2250f744d1
commit 349f1c0374
55 changed files with 3085 additions and 213 deletions

View File

@@ -10,6 +10,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="codeDesc" column="code_desc" />
<result property="codeEnvironment" column="code_environment" />
<result property="codeTechnology" column="code_technology" />
<result property="frontendTechnology" column="frontend_technology" />
<result property="backendTechnology" column="backend_technology" />
<result property="databaseTechnology" column="database_technology" />
<result property="codeSource" column="code_source" />
<result property="paymentType" column="payment_type" />
<result property="diskLink" column="disk_link" />
@@ -19,7 +22,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectTtCodeVo">
select code_id, code_name, code_desc, code_environment, code_technology, code_source, payment_type, disk_link, publish_flag, picture_file, video_file from tt_code
select code_id, code_name, code_desc, code_environment, code_technology,
frontend_technology, backend_technology, database_technology,
code_source, payment_type, disk_link, publish_flag, picture_file, video_file
from tt_code
</sql>
<select id="selectTtCodeList" parameterType="TtCode" resultMap="TtCodeResult">
@@ -29,6 +35,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="codeDesc != null and codeDesc != ''"> and code_desc = #{codeDesc}</if>
<if test="codeEnvironment != null and codeEnvironment != ''"> and code_environment = #{codeEnvironment}</if>
<if test="codeTechnology != null and codeTechnology != ''"> and code_technology = #{codeTechnology}</if>
<if test="frontendTechnology != null and frontendTechnology != ''"> and frontend_technology = #{frontendTechnology}</if>
<if test="backendTechnology != null and backendTechnology != ''"> and backend_technology = #{backendTechnology}</if>
<if test="databaseTechnology != null and databaseTechnology != ''"> and database_technology = #{databaseTechnology}</if>
<if test="codeSource != null and codeSource != ''"> and code_source = #{codeSource}</if>
<if test="paymentType != null and paymentType != ''"> and payment_type = #{paymentType}</if>
<if test="diskLink != null and diskLink != ''"> and disk_link = #{diskLink}</if>
@@ -57,6 +66,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="codeDesc != null">code_desc,</if>
<if test="codeEnvironment != null">code_environment,</if>
<if test="codeTechnology != null">code_technology,</if>
<if test="frontendTechnology != null">frontend_technology,</if>
<if test="backendTechnology != null">backend_technology,</if>
<if test="databaseTechnology != null">database_technology,</if>
<if test="codeSource != null">code_source,</if>
<if test="paymentType != null">payment_type,</if>
<if test="diskLink != null">disk_link,</if>
@@ -70,6 +82,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="codeDesc != null">#{codeDesc},</if>
<if test="codeEnvironment != null">#{codeEnvironment},</if>
<if test="codeTechnology != null">#{codeTechnology},</if>
<if test="frontendTechnology != null">#{frontendTechnology},</if>
<if test="backendTechnology != null">#{backendTechnology},</if>
<if test="databaseTechnology != null">#{databaseTechnology},</if>
<if test="codeSource != null">#{codeSource},</if>
<if test="paymentType != null">#{paymentType},</if>
<if test="diskLink != null">#{diskLink},</if>
@@ -86,6 +101,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="codeDesc != null">code_desc = #{codeDesc},</if>
<if test="codeEnvironment != null">code_environment = #{codeEnvironment},</if>
<if test="codeTechnology != null">code_technology = #{codeTechnology},</if>
<if test="frontendTechnology != null">frontend_technology = #{frontendTechnology},</if>
<if test="backendTechnology != null">backend_technology = #{backendTechnology},</if>
<if test="databaseTechnology != null">database_technology = #{databaseTechnology},</if>
<if test="codeSource != null">code_source = #{codeSource},</if>
<if test="paymentType != null">payment_type = #{paymentType},</if>
<if test="diskLink != null">disk_link = #{diskLink},</if>

View File

@@ -113,6 +113,18 @@
where id = #{id}
</update>
<update id="updateProjectQuarkUrl">
update tt_project_info
set project_url = #{projectUrl}
where id = #{id}
</update>
<update id="updateProjectBaiduUrl">
update tt_project_info
set project_baidu_url = #{projectBaiduUrl}
where id = #{id}
</update>
<delete id="deleteTtProjectInfoById" parameterType="Integer">
delete from tt_project_info where id = #{id}
</delete>

View File

@@ -52,4 +52,10 @@
#{projectId}
</foreach>
</delete>
<delete id="deleteByProjectIdAndDiskType">
delete from tt_project_link_check
where project_id = #{projectId}
and disk_type = #{diskType}
</delete>
</mapper>