| | |
| | | select id, resource_group_name, devices_quantity, theory_hours, rest_days, theory_capacity, request_date, del_flag, create_by, create_time, update_by, update_time, plant from aps_resource_group |
| | | </sql> |
| | | |
| | | <select id="selectApsResourceGroupList" parameterType="ApsResourceGroupParam" resultMap="ApsResourceGroupResult"> |
| | | <select id="selectApsResourceGroupList" parameterType="ApsResourceGroup" resultMap="ApsResourceGroupResult"> |
| | | <include refid="selectApsResourceGroupVo"/> |
| | | <where> |
| | | <if test="resourceGroupName != null and resourceGroupName != ''"> and resource_group_name like '%' || #{resourceGroupName|| '%')</if> |
| | | <if test="resourceGroupName != null and resourceGroupName != ''"> and resource_group_name like '%' || #{resourceGroupName}|| '%'</if> |
| | | |
| | | <if test="beginRequestDate != null and beginRequestDate != '' and endRequestDate != null and endRequestDate != ''"> and request_date between #{beginRequestDate} and #{endRequestDate}</if> |
| | | <if test="params.beginRequestDate != null and params.beginRequestDate != '' and params.endRequestDate != null and params.endRequestDate != ''"> and request_date between #{params.beginRequestDate} and #{params.endRequestDate}</if> |
| | | <!--<if test="plant != null and plant != ''"> and plant = #{plant}</if> |
| | | <if test="devicesQuantity != null "> and devices_quantity = #{devicesQuantity}</if> |
| | | <if test="theoryHours != null "> and theory_hours = #{theoryHours}</if> |