This commit is contained in:
bianyadong
2024-05-09 19:06:01 +08:00
parent a1d867578d
commit 481c555b4e
2 changed files with 11 additions and 4 deletions

View File

@@ -65,6 +65,7 @@ public class ShopStageInfoDAO {
addShopStageList.add(shopStageInfo);
}
}
//发送短信
return shopStageInfoMapper.batchInsert(addShopStageList);
}

View File

@@ -54,7 +54,7 @@
e.training_store_id as trainingStoreId,
e.estimated_assessment_time as estimatedAssessmentTime,
e.actual_assessment_time as actualAssessmentTime,
e.assign_flag as assignFlag
ifnull(e.assign_flag,0) as assignFlag
from xfsg_temp_user_detail u
left join xfsg_employee_training e on e.xfsg_user_detail_id = u.id
left join xfsg_shop_info s on s.id = u.shop_id
@@ -74,9 +74,12 @@
#{item}
</foreach>
</if>
<if test="assignFlag != null">
<if test="assignFlag != null and assignFlag == 1">
and e.assign_flag = #{assignFlag}
</if>
<if test="assignFlag != null and assignFlag == 0">
and e.assign_flag is null
</if>
<if test="beginTime != null and beginTime != ''">
and u.register_time &gt;= #{beginTime}
</if>
@@ -101,8 +104,11 @@
<if test="assessmentStatus != null and assessmentStatus == 1">
and e.assessment_total_num = e.assessment_num
</if>
<if test="assignStoreFlag != null">
and s.store_num not null
<if test="assignStoreFlag != null and assignStoreFlag == 1">
and s.store_num is not null
</if>
<if test="assignStoreFlag != null and assignStoreFlag == 0">
and s.store_num is null
</if>
</select>
<select id="trainingListByShopId" resultType="com.cool.store.vo.EmployeeTrainingVO">