| | |
| | | ORDER BY mp.create_time DESC |
| | | </select> |
| | | |
| | | <select id="selectPlanUrlPlanIdUrl" resultType="java.lang.String"> |
| | | select url from man_plan_url |
| | | where 1=1 |
| | | and id=#{id} |
| | | </select> |
| | | |
| | | <select id="selectPlanUrlPlanIdName" resultType="java.lang.String"> |
| | | select name from man_plan_url |
| | | where 1=1 |
| | | and id=#{id} |
| | | </select> |
| | | |
| | | <select id="selectPlanUrlPlanIdSize" resultType="java.lang.Long"> |
| | | select file_size from man_plan_url |
| | | where 1=1 |
| | | and id=#{id} |
| | | </select> |
| | | |
| | | <select id="selectPlanUrlPlanIdUserName" resultType="java.lang.String"> |
| | | select user_name from man_plan_url |
| | | where 1=1 |
| | | and id=#{id} |
| | | </select> |
| | | |
| | | <select id="selectPlanUrlId" resultType="java.lang.Integer"> |
| | | select id from man_plan_url |
| | | where 1=1 |
| | | and plan_id=#{planId} |
| | | </select> |
| | | |
| | | <insert id="increasePlanUrl"> |
| | | insert into man_plan_url(plan_id,url,name,file_size,user_name,user_id) |
| | | values(#{planId},#{url},#{name},#{size},#{userName},#{userId}) |
| | | </insert> |
| | | |
| | | |
| | | </mapper> |