<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.taskNo!=null"> AND TASK_NO=#{ew.entity.taskNo}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.description!=null"> AND DESCRIPTION=#{ew.entity.description}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.resourceInspectPlanBo!=null"> AND RESOURCE_INSPECT_PLAN_BO=#{ew.entity.resourceInspectPlanBo}</if>
<iftest="ew.entity.inspectionItemBo!=null"> AND INSPECTION_ITEM_BO=#{ew.entity.inspectionItemBo}</if>
<iftest="ew.entity.resourceBo!=null"> AND RESOURCE_BO=#{ew.entity.resourceBo}</if>
<iftest="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.taskCreateDate!=null"> AND TASK_CREATE_DATE=#{ew.entity.taskCreateDate}</if>
<iftest="ew.entity.planStartDate!=null"> AND PLAN_START_DATE=#{ew.entity.planStartDate}</if>
<iftest="ew.entity.planCompleteDate!=null"> AND PLAN_COMPLETE_DATE=#{ew.entity.planCompleteDate}</if>
<iftest="ew.entity.actualStartDate!=null"> AND ACTUAL_START_DATE=#{ew.entity.actualStartDate}</if>
<iftest="ew.entity.actualCompleteDate!=null"> AND ACTUAL_COMPLETE_DATE=#{ew.entity.actualCompleteDate}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.result!=null"> AND RESULT=#{ew.entity.result}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.reason!=null"> AND REASON=#{ew.entity.reason}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.scheduleType!=null"> AND SCHEDULE_TYPE=#{ew.entity.scheduleType}</if>
<iftest="ew.entity.frequency!=null"> AND FREQUENCY=#{ew.entity.frequency}</if>
<iftest="ew.entity.frequencyUnit!=null"> AND FREQUENCY_UNIT=#{ew.entity.frequencyUnit}</if>
<iftest="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<iftest="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
@ -99,21 +105,24 @@
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.taskNo!=null"> AND TASK_NO=#{ew.entity.taskNo}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.description!=null"> AND DESCRIPTION=#{ew.entity.description}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.resourceInspectPlanBo!=null"> AND RESOURCE_INSPECT_PLAN_BO=#{ew.entity.resourceInspectPlanBo}</if>
<iftest="ew.entity.inspectionItemBo!=null"> AND INSPECTION_ITEM_BO=#{ew.entity.inspectionItemBo}</if>
<iftest="ew.entity.resourceBo!=null"> AND RESOURCE_BO=#{ew.entity.resourceBo}</if>
<iftest="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.taskCreateDate!=null"> AND TASK_CREATE_DATE=#{ew.entity.taskCreateDate}</if>
<iftest="ew.entity.planStartDate!=null"> AND PLAN_START_DATE=#{ew.entity.planStartDate}</if>
<iftest="ew.entity.planCompleteDate!=null"> AND PLAN_COMPLETE_DATE=#{ew.entity.planCompleteDate}</if>
<iftest="ew.entity.actualStartDate!=null"> AND ACTUAL_START_DATE=#{ew.entity.actualStartDate}</if>
<iftest="ew.entity.actualCompleteDate!=null"> AND ACTUAL_COMPLETE_DATE=#{ew.entity.actualCompleteDate}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.result!=null"> AND RESULT=#{ew.entity.result}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.reason!=null"> AND REASON=#{ew.entity.reason}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.scheduleType!=null"> AND SCHEDULE_TYPE=#{ew.entity.scheduleType}</if>
<iftest="ew.entity.frequency!=null"> AND FREQUENCY=#{ew.entity.frequency}</if>
<iftest="ew.entity.frequencyUnit!=null"> AND FREQUENCY_UNIT=#{ew.entity.frequencyUnit}</if>
<iftest="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<iftest="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
@ -129,7 +138,7 @@
</if>
</select>
<selectid="selectList"resultMap="BaseResultMap">
<selectid="selectList"resultMap="BaseResultMap">
SELECT <choose><whentest="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><includerefid="Base_Column_List"></include></otherwise></choose> FROM Z_RESOURCE_INSPECT_TASK
<where>
<iftest="ew!=null">
@ -139,21 +148,24 @@
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.taskNo!=null"> AND TASK_NO=#{ew.entity.taskNo}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.description!=null"> AND DESCRIPTION=#{ew.entity.description}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.resourceInspectPlanBo!=null"> AND RESOURCE_INSPECT_PLAN_BO=#{ew.entity.resourceInspectPlanBo}</if>
<iftest="ew.entity.inspectionItemBo!=null"> AND INSPECTION_ITEM_BO=#{ew.entity.inspectionItemBo}</if>
<iftest="ew.entity.resourceBo!=null"> AND RESOURCE_BO=#{ew.entity.resourceBo}</if>
<iftest="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.taskCreateDate!=null"> AND TASK_CREATE_DATE=#{ew.entity.taskCreateDate}</if>
<iftest="ew.entity.planStartDate!=null"> AND PLAN_START_DATE=#{ew.entity.planStartDate}</if>
<iftest="ew.entity.planCompleteDate!=null"> AND PLAN_COMPLETE_DATE=#{ew.entity.planCompleteDate}</if>
<iftest="ew.entity.actualStartDate!=null"> AND ACTUAL_START_DATE=#{ew.entity.actualStartDate}</if>
<iftest="ew.entity.actualCompleteDate!=null"> AND ACTUAL_COMPLETE_DATE=#{ew.entity.actualCompleteDate}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.result!=null"> AND RESULT=#{ew.entity.result}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.reason!=null"> AND REASON=#{ew.entity.reason}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.scheduleType!=null"> AND SCHEDULE_TYPE=#{ew.entity.scheduleType}</if>
<iftest="ew.entity.frequency!=null"> AND FREQUENCY=#{ew.entity.frequency}</if>
<iftest="ew.entity.frequencyUnit!=null"> AND FREQUENCY_UNIT=#{ew.entity.frequencyUnit}</if>
<iftest="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<iftest="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
@ -179,21 +191,24 @@
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.taskNo!=null"> AND TASK_NO=#{ew.entity.taskNo}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.description!=null"> AND DESCRIPTION=#{ew.entity.description}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.resourceInspectPlanBo!=null"> AND RESOURCE_INSPECT_PLAN_BO=#{ew.entity.resourceInspectPlanBo}</if>
<iftest="ew.entity.inspectionItemBo!=null"> AND INSPECTION_ITEM_BO=#{ew.entity.inspectionItemBo}</if>
<iftest="ew.entity.resourceBo!=null"> AND RESOURCE_BO=#{ew.entity.resourceBo}</if>
<iftest="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.taskCreateDate!=null"> AND TASK_CREATE_DATE=#{ew.entity.taskCreateDate}</if>
<iftest="ew.entity.planStartDate!=null"> AND PLAN_START_DATE=#{ew.entity.planStartDate}</if>
<iftest="ew.entity.planCompleteDate!=null"> AND PLAN_COMPLETE_DATE=#{ew.entity.planCompleteDate}</if>
<iftest="ew.entity.actualStartDate!=null"> AND ACTUAL_START_DATE=#{ew.entity.actualStartDate}</if>
<iftest="ew.entity.actualCompleteDate!=null"> AND ACTUAL_COMPLETE_DATE=#{ew.entity.actualCompleteDate}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.result!=null"> AND RESULT=#{ew.entity.result}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.reason!=null"> AND REASON=#{ew.entity.reason}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.scheduleType!=null"> AND SCHEDULE_TYPE=#{ew.entity.scheduleType}</if>
<iftest="ew.entity.frequency!=null"> AND FREQUENCY=#{ew.entity.frequency}</if>
<iftest="ew.entity.frequencyUnit!=null"> AND FREQUENCY_UNIT=#{ew.entity.frequencyUnit}</if>
<iftest="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<iftest="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
@ -219,21 +234,24 @@
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.taskNo!=null"> AND TASK_NO=#{ew.entity.taskNo}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.description!=null"> AND DESCRIPTION=#{ew.entity.description}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.resourceInspectPlanBo!=null"> AND RESOURCE_INSPECT_PLAN_BO=#{ew.entity.resourceInspectPlanBo}</if>
<iftest="ew.entity.inspectionItemBo!=null"> AND INSPECTION_ITEM_BO=#{ew.entity.inspectionItemBo}</if>
<iftest="ew.entity.resourceBo!=null"> AND RESOURCE_BO=#{ew.entity.resourceBo}</if>
<iftest="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.taskCreateDate!=null"> AND TASK_CREATE_DATE=#{ew.entity.taskCreateDate}</if>
<iftest="ew.entity.planStartDate!=null"> AND PLAN_START_DATE=#{ew.entity.planStartDate}</if>
<iftest="ew.entity.planCompleteDate!=null"> AND PLAN_COMPLETE_DATE=#{ew.entity.planCompleteDate}</if>
<iftest="ew.entity.actualStartDate!=null"> AND ACTUAL_START_DATE=#{ew.entity.actualStartDate}</if>
<iftest="ew.entity.actualCompleteDate!=null"> AND ACTUAL_COMPLETE_DATE=#{ew.entity.actualCompleteDate}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.result!=null"> AND RESULT=#{ew.entity.result}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.reason!=null"> AND REASON=#{ew.entity.reason}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.scheduleType!=null"> AND SCHEDULE_TYPE=#{ew.entity.scheduleType}</if>
<iftest="ew.entity.frequency!=null"> AND FREQUENCY=#{ew.entity.frequency}</if>
<iftest="ew.entity.frequencyUnit!=null"> AND FREQUENCY_UNIT=#{ew.entity.frequencyUnit}</if>
<iftest="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<iftest="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
@ -259,21 +277,24 @@
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.taskNo!=null"> AND TASK_NO=#{ew.entity.taskNo}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.description!=null"> AND DESCRIPTION=#{ew.entity.description}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.resourceInspectPlanBo!=null"> AND RESOURCE_INSPECT_PLAN_BO=#{ew.entity.resourceInspectPlanBo}</if>
<iftest="ew.entity.inspectionItemBo!=null"> AND INSPECTION_ITEM_BO=#{ew.entity.inspectionItemBo}</if>
<iftest="ew.entity.resourceBo!=null"> AND RESOURCE_BO=#{ew.entity.resourceBo}</if>
<iftest="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.taskCreateDate!=null"> AND TASK_CREATE_DATE=#{ew.entity.taskCreateDate}</if>
<iftest="ew.entity.planStartDate!=null"> AND PLAN_START_DATE=#{ew.entity.planStartDate}</if>
<iftest="ew.entity.planCompleteDate!=null"> AND PLAN_COMPLETE_DATE=#{ew.entity.planCompleteDate}</if>
<iftest="ew.entity.actualStartDate!=null"> AND ACTUAL_START_DATE=#{ew.entity.actualStartDate}</if>
<iftest="ew.entity.actualCompleteDate!=null"> AND ACTUAL_COMPLETE_DATE=#{ew.entity.actualCompleteDate}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.result!=null"> AND RESULT=#{ew.entity.result}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.reason!=null"> AND REASON=#{ew.entity.reason}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.scheduleType!=null"> AND SCHEDULE_TYPE=#{ew.entity.scheduleType}</if>
<iftest="ew.entity.frequency!=null"> AND FREQUENCY=#{ew.entity.frequency}</if>
<iftest="ew.entity.frequencyUnit!=null"> AND FREQUENCY_UNIT=#{ew.entity.frequencyUnit}</if>
<iftest="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<iftest="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>
@ -299,21 +320,24 @@
</if>
<iftest="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
<iftest="ew.entity.taskNo!=null"> AND TASK_NO=#{ew.entity.taskNo}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.description!=null"> AND DESCRIPTION=#{ew.entity.description}</if>
<iftest="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
<iftest="ew.entity.resourceInspectPlanBo!=null"> AND RESOURCE_INSPECT_PLAN_BO=#{ew.entity.resourceInspectPlanBo}</if>
<iftest="ew.entity.inspectionItemBo!=null"> AND INSPECTION_ITEM_BO=#{ew.entity.inspectionItemBo}</if>
<iftest="ew.entity.resourceBo!=null"> AND RESOURCE_BO=#{ew.entity.resourceBo}</if>
<iftest="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
<iftest="ew.entity.category!=null"> AND CATEGORY=#{ew.entity.category}</if>
<iftest="ew.entity.taskCreateDate!=null"> AND TASK_CREATE_DATE=#{ew.entity.taskCreateDate}</if>
<iftest="ew.entity.planStartDate!=null"> AND PLAN_START_DATE=#{ew.entity.planStartDate}</if>
<iftest="ew.entity.planCompleteDate!=null"> AND PLAN_COMPLETE_DATE=#{ew.entity.planCompleteDate}</if>
<iftest="ew.entity.actualStartDate!=null"> AND ACTUAL_START_DATE=#{ew.entity.actualStartDate}</if>
<iftest="ew.entity.actualCompleteDate!=null"> AND ACTUAL_COMPLETE_DATE=#{ew.entity.actualCompleteDate}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.result!=null"> AND RESULT=#{ew.entity.result}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.reason!=null"> AND REASON=#{ew.entity.reason}</if>
<iftest="ew.entity.executor!=null"> AND EXECUTOR=#{ew.entity.executor}</if>
<iftest="ew.entity.remark!=null"> AND REMARK=#{ew.entity.remark}</if>
<iftest="ew.entity.scheduleType!=null"> AND SCHEDULE_TYPE=#{ew.entity.scheduleType}</if>
<iftest="ew.entity.frequency!=null"> AND FREQUENCY=#{ew.entity.frequency}</if>
<iftest="ew.entity.frequencyUnit!=null"> AND FREQUENCY_UNIT=#{ew.entity.frequencyUnit}</if>
<iftest="ew.entity.createUser!=null"> AND CREATE_USER=#{ew.entity.createUser}</if>
<iftest="ew.entity.createdDateTime!=null"> AND CREATED_DATE_TIME=#{ew.entity.createdDateTime}</if>
<iftest="ew.entity.modifyUser!=null"> AND MODIFY_USER=#{ew.entity.modifyUser}</if>