id, cust_id, msg_title, msg_content, msg_type, templete_id, push_type, return_type,
read_type, data_state, create_empid, create_date, modfiy_empid, modfiy_date, out_msg_no
delete
from td_c_push_msg
where
msg_type=#{msgType}
and cust_id=#{custId};
update
td_c_push_msg
set read_type = 1,
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP}
where data_state=1
and msg_type = 1
and msg_type = 6
and msg_type = 9
and msg_type in (2,3,4,5,7)
and read_type = 0
and cust_id = #{custId,jdbcType=VARCHAR}