|
@@ -11,9 +11,6 @@ public interface FitnesMapper {
|
|
|
|
|
|
@Select("<script>" +
|
|
@Select("<script>" +
|
|
"SELECT count(1) FROM fitnes where 1=1 " +
|
|
"SELECT count(1) FROM fitnes where 1=1 " +
|
|
- "<if test='iocParam!=null and iocParam.companyId != null '>" +
|
|
|
|
- " and company_id=#{iocParam.companyId} " +
|
|
|
|
- "</if>"+
|
|
|
|
"<if test='warehouse!=null '>" +
|
|
"<if test='warehouse!=null '>" +
|
|
" and warehouse = #{warehouse} " +
|
|
" and warehouse = #{warehouse} " +
|
|
"</if>"+
|
|
"</if>"+
|
|
@@ -25,9 +22,7 @@ public interface FitnesMapper {
|
|
|
|
|
|
@Select("<script>" +
|
|
@Select("<script>" +
|
|
"SELECT count(1) FROM fitnes where 1=1 " +
|
|
"SELECT count(1) FROM fitnes where 1=1 " +
|
|
- "<if test='iocParam!=null and iocParam.companyId != null '>" +
|
|
|
|
- " and company_id=#{iocParam.companyId} " +
|
|
|
|
- "</if>"+
|
|
|
|
|
|
+
|
|
"<if test='fitnesType!=null '>" +
|
|
"<if test='fitnesType!=null '>" +
|
|
" and fitnes_type = #{fitnesType} " +
|
|
" and fitnes_type = #{fitnesType} " +
|
|
"</if>"+
|
|
"</if>"+
|
|
@@ -38,9 +33,6 @@ public interface FitnesMapper {
|
|
Integer getTotalPersonByCompanyIdAndDeptIdAndFitnesType(@Param("iocParam") IocParam iocParam,@Param("fitnesType") Integer fitnesType);
|
|
Integer getTotalPersonByCompanyIdAndDeptIdAndFitnesType(@Param("iocParam") IocParam iocParam,@Param("fitnesType") Integer fitnesType);
|
|
@Select("<script>" +
|
|
@Select("<script>" +
|
|
"SELECT count(1) FROM fitnes where 1=1 " +
|
|
"SELECT count(1) FROM fitnes where 1=1 " +
|
|
- "<if test='iocParam!=null and iocParam.companyId != null '>" +
|
|
|
|
- " and company_id=#{iocParam.companyId} " +
|
|
|
|
- "</if>"+
|
|
|
|
"<if test='warehouse!=null '>" +
|
|
"<if test='warehouse!=null '>" +
|
|
" and warehouse = #{warehouse} " +
|
|
" and warehouse = #{warehouse} " +
|
|
"</if>"+
|
|
"</if>"+
|