| | |
| | | <result column="update_by" property="updateBy" /> |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="memo" property="memo" /> |
| | | <result column="user_xml_sel_phone" property="userXmlSelPhone" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | 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="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) |
| | | values(#{planId},#{url},#{name},#{size}) |
| | | </insert> |
| | | |
| | | |
| | | </mapper> |