|
|
|
|
@ -3,6 +3,7 @@ package com.ruoyi.pay.mapper;
|
|
|
|
|
import com.ruoyi.pay.domain.PayEmployeeInfo;
|
|
|
|
|
import com.ruoyi.pay.domain.vo.PayEmployeeInfoVo;
|
|
|
|
|
import com.ruoyi.common.core.mapper.BaseMapperPlus;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import org.apache.ibatis.annotations.Update;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@ -13,5 +14,5 @@ import org.apache.ibatis.annotations.Update;
|
|
|
|
|
*/
|
|
|
|
|
public interface PayEmployeeInfoMapper extends BaseMapperPlus<PayEmployeeInfoMapper, PayEmployeeInfo, PayEmployeeInfoVo> {
|
|
|
|
|
@Update("update pay_employee_info e set e.hours_per_day = #{newHour} where e.hours_per_day = #{oldHour}")
|
|
|
|
|
int updateSgrEmployeeHour(String oldHour, String newHour);
|
|
|
|
|
int updateSgrEmployeeHour(@Param("oldHour") String oldHour, @Param("newHour")String newHour);
|
|
|
|
|
}
|
|
|
|
|
|