| | |
| | | <if test="query.salesmanUser!=null and query.salesmanUser!= ''"> |
| | | and t1.salesmanUserId = #{query.salesmanUser} |
| | | </if> |
| | | <if test="query.insertType!=null and query.insertType!= ''"> |
| | | and t1.insertType = #{query.insertType} |
| | | </if> |
| | | <if test="query.typeId!=null and query.typeId!= ''"> |
| | | and t1.addUserId = #{query.typeId} |
| | | <if test="query.userIds!=null and query.userIds.size()>0"> |
| | | t1.id in |
| | | <foreach collection="query.userIds" item="id" index="index" open="(" close=")" separator=","> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | and t1.state != 3 |
| | | </where> |
| | | |
| | | |
| | | </select> |
| | | <select id="getSelects" resultType="com.dsh.account.dto.SelectDto"> |
| | | SELECT ts.id ,ts.`name` as value |