| | |
| | | <collection property="projs" ofType="com.matrix.system.app.vo.ServiceOrderListProjVo"> |
| | | <result property="projName" column="projName" /> |
| | | <result property="beautyName" column="beautyName" /> |
| | | <result property="id" column="staffId" /> |
| | | </collection> |
| | | </resultMap> |
| | | |
| | |
| | | a.state status, |
| | | d.BED_NAME bed, |
| | | e.VIP_NAME vipName, |
| | | b.staff_id staffId, |
| | | f.su_name beautyName, |
| | | g.proj_name projName |
| | | from sys_proj_services a |
| | |
| | | </if> |
| | | <if test="record.status != null and record.status != ''"> |
| | | and a.state = #{record.status} |
| | | </if> |
| | | <if test="record.shopId != null"> |
| | | and a.shop_id=#{record.shopId} |
| | | </if> |
| | | </where> |
| | | <if test="pageVo !=null"><!-- 判断pageVo对象是否为空 --> |
| | |
| | | <if test="record.status != null and record.status != ''"> |
| | | and a.state = #{record.status} |
| | | </if> |
| | | <if test="record.shopId != null"> |
| | | and a.shop_id=#{record.shopId} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </mapper> |