| | |
| | | </set> where uis_id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | | |
| | | <update id="updateInvalidByBossId" parameterType="Long"> |
| | | <update id="updateInvalidByBossId"> |
| | | UPDATE yeshi_ec_user_invite_separate SET uis_state = 2 |
| | | WHERE uis_boss_id = #{uid} AND uis_state = 0 AND uis_end_time >= NOW() |
| | | </update> |
| | | |
| | | <update id="updateStateByWorkerIdAndBossId" parameterType="Long"> |
| | | <update id="updateStateByWorkerIdAndBossId"> |
| | | UPDATE yeshi_ec_user_invite_separate SET uis_state = #{state} |
| | | WHERE uis_worker_id = #{workerId} AND uis_boss_id = #{uid} |
| | | WHERE uis_worker_id = #{workerId} AND uis_boss_id = #{bossId} |
| | | </update> |
| | | |
| | | <select id="selectByWorkerIdAndBossId" resultMap="BaseResultMap"> |