| | |
| | | inspection_plan_period, |
| | | remark, |
| | | end_time, |
| | | start_date, |
| | | end_date, |
| | | inspection_month, |
| | | inspection_day, |
| | | inspection_workday, |
| | | can_reexamine, |
| | | operate, |
| | | sign_type, |
| | | start_time, |
| | |
| | | create_user_id, |
| | | create_user_name) |
| | | values (#{inspectionPlanName},#{inspectionRouteId},#{inspectionPlanPeriod},#{remark}, |
| | | #{endTime},#{operate},#{signType},#{startTime}, |
| | | #{endTime},#{startDate},#{endDate},#{inspectionMonth},#{inspectionDay},#{inspectionWorkday},#{canReexamine}, |
| | | #{operate},#{signType},#{startTime}, |
| | | #{inspectionPlanId},#{state},#{communityId},#{bId},#{createUserId}, |
| | | #{createUserName}) |
| | | </insert> |
| | |
| | | t.end_time endTime, |
| | | t.sign_type signType, |
| | | t.start_time startTime, |
| | | t.end_date endDate, |
| | | t.start_date startDate, |
| | | t.create_user_id createUserId, |
| | | t.create_user_name createUserName, |
| | | t.inspection_plan_id inspectionPlanId, |
| | |
| | | t.can_reexamine canReexamine, |
| | | t.b_id bId, |
| | | t.create_time createTime, |
| | | t.inspection_workday inspectionWorkday, |
| | | t.inspection_month inspectionMonth, |
| | | t.inspection_day inspectionDay, |
| | | t.before_time beforeTime, |
| | | d.name stateName, |
| | | c.name inspectionPlanPeriodName, |
| | | i.name signTypeName |
| | |
| | | <if test="endTime !=null "> |
| | | and t.end_time= #{endTime} |
| | | </if> |
| | | |
| | | <if test="endDate !=null "> |
| | | and t.end_date= #{endDate} |
| | | </if> |
| | | <if test="signType !=null and signType != ''"> |
| | | and t.sign_type= #{signType} |
| | | </if> |
| | |
| | | <if test="startTime !=null "> |
| | | and t.start_time= #{startTime} |
| | | </if> |
| | | <if test="startDate !=null "> |
| | | and t.start_date= #{startDate} |
| | | </if> |
| | | <if test="curTime !=null "> |
| | | and t.start_time < #{curTime} |
| | | and t.end_time > #{curTime} |
| | | and t.start_date < #{curTime} |
| | | and t.end_date > #{curTime} |
| | | </if> |
| | | <if test="createUserId !=null and createUserId != ''"> |
| | | and t.create_user_id= #{createUserId} |