|
@@ -27,6 +27,7 @@
|
|
|
<result column="social_sec" property="socialSec"/>
|
|
|
<result column="net_salary" property="netSalary"/>
|
|
|
<result column="desc" property="desc"/>
|
|
|
+ <result column="name" property="name"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap id="userpayInfoResultVOMap" type="org.springblade.control.vo.UserpayInfoVO">
|
|
@@ -58,14 +59,16 @@
|
|
|
|
|
|
|
|
|
<select id="selectUserpayInfoPage" resultMap="userpayInfoResultVOMap">
|
|
|
- select *,(SELECT name from blade_user b where a.user_id = b.id) as name from c_user_pay_info a
|
|
|
+ select *
|
|
|
+ /*,(SELECT name from blade_user b where a.user_id = b.id) as name */
|
|
|
+ from c_user_pay_info a
|
|
|
where a.is_deleted = 0
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<delete id="delUserPayInoByDate">
|
|
|
- delete from m_role_post where cost_time = #{date}
|
|
|
+ delete from c_user_pay_info where DATE_FORMAT(cost_time,'%Y-%m') = #{date}
|
|
|
</delete>
|
|
|
|
|
|
</mapper>
|