UPDATE Operator SET OperatorName=#{operatorName},Active=#{active},Department=#{department},CreatedDate=#{createdDate},Passwords=#{passwords},LineLeader=#{lineLeader},FQCFlag=#{fQCFlag},CalendarID=#{calendarID},Efficiency=#{efficiency},WorkCenterNo=#{workCenterNo}
where OperatorID=#{operatorID} and Site=#{site}
</update>
<updateid="updateOperatorResource">
UPDATE WorkCenterResource set CalendarID=#{calendarID}, Efficiency=#{efficiency} where ResourceID=#{operatorID} and Site=#{site}