Browse Source

feat:增加,城市,新人,技师等级筛选

wrj 10 months ago
parent
commit
55176fb800

+ 4 - 0
nightFragrance-massage/src/main/java/com/ylx/massage/domain/TJs.java

@@ -41,6 +41,10 @@ public class TJs implements Serializable {
     @ApiModelProperty("城市")
     private String city;
 
+    @TableField("js_grade")
+    @ApiModelProperty("技师等级")
+    private Integer jsGrade;
+
     /**
      * 可预约项目编号 JsonArray
      */

+ 11 - 0
nightFragrance-massage/src/main/resources/mapper/massage/TJsMapper.xml

@@ -16,6 +16,7 @@
         <result column="c_portrait" property="cPortrait"/>
         <result column="c_name" property="cName"/>
         <result column="c_phone" property="cPhone"/>
+        <result column="js_grade" property="jsGrade"/>
         <result column="c_address" property="cAddress"/>
         <result column="health_certificate" property="healthCertificate"/>
         <result column="business_license" property="businessLicense"/>
@@ -61,6 +62,7 @@
         js.n_bili,
         js.n_num,
         js.city,
+        js.js_grade,
         js.n_status,
         js.n_status2,
         js.n_tong,
@@ -98,6 +100,15 @@
             <if test="param.nSex != null">
                 and js.n_sex = #{param.nSex}
             </if>
+            <if test="param.city != null">
+                and js.city = #{param.city}
+            </if>
+            <if test="param.jsGrade != null">
+                and js.js_grade = #{param.jsGrade}
+            </if>
+            <if test="param.nB2 != null">
+                and js.n_b2 = #{param.nB2}
+            </if>
             <if test="param.cOpenId != null and param.cOpenId != ''">
                 and js.c_open_id = #{param.cOpenId}
             </if>