| | |
| | | <if test="companyId != null"> |
| | | companyId, |
| | | </if> |
| | | <if test="status != null"> |
| | | `status`, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | |
| | | <if test="companyId != null"> |
| | | #{companyId,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | </trim> |
| | | on duplicate key update |
| | | <trim suffixOverrides=","> |
| | |
| | | <if test="companyId != null"> |
| | | companyId = #{companyId,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | `status` = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | </trim> |
| | | |
| | | </insert> |
| | |
| | | t.updateTime, |
| | | t.isUse, |
| | | t.companyId, |
| | | t.`status`, |
| | | GROUP_CONCAT(DISTINCT b.real_name ORDER BY b.job_num SEPARATOR '、') realNames, |
| | | GROUP_CONCAT(DISTINCT b.user_id ORDER BY b.job_num SEPARATOR '、') userIds, |
| | | GROUP_CONCAT(DISTINCT d.region ORDER BY c.sort SEPARATOR ',') regions, |