You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
weaver-hrm-organization/src/com/engine/organization/wrapper/StaffPlanWrapper.java

103 lines
2.4 KiB
Java

package com.engine.organization.wrapper;
import com.engine.common.util.ServiceUtil;
import com.engine.core.impl.Service;
import com.engine.organization.entity.staff.param.StaffPlanSearchParam;
import com.engine.organization.service.StaffPlanService;
import com.engine.organization.service.impl.StaffPlanServiceImpl;
import org.apache.ibatis.annotations.Param;
import weaver.hrm.User;
import java.util.Collection;
import java.util.Map;
/**
* @description: TODO
* @author:dxfeng
* @createTime: 2022/05/25
* @version: 1.0
*/
public class StaffPlanWrapper extends Service {
private StaffPlanService getStaffPlanService(User user) {
return ServiceUtil.getService(StaffPlanServiceImpl.class, user);
}
/**
*
*
* @param params
* @return
*/
public Map<String, Object> listPage(StaffPlanSearchParam params) {
return getStaffPlanService(user).listPage(params);
}
/**
*
*
* @param param
* @return
*/
public int saveStaffPlan(StaffPlanSearchParam param) {
return getStaffPlanService(user).saveStaffPlan(param);
}
/**
*
*
* @param param
* @return
*/
public int updateStaffPlan(StaffPlanSearchParam param) {
return getStaffPlanService(user).updateStaffPlan(param);
}
/**
*
*
* @param params
*/
public int updateForbiddenTagById(StaffPlanSearchParam params) {
return getStaffPlanService(user).updateForbiddenTagById(params);
}
/**
* ID
*
* @param ids
*/
public int deleteByIds(@Param("ids") Collection<Long> ids) {
return getStaffPlanService(user).deleteByIds(ids);
}
/**
*
*
* @param params
* @return
*/
public Map<String, Object> getSearchCondition(Map<String, Object> params) {
return getStaffPlanService(user).getSearchCondition(params);
}
/**
*
*
* @param params
* @return
*/
public Map<String, Object> getForm(Map<String, Object> params) {
return getStaffPlanService(user).getForm(params);
}
/**
*
*
* @return
*/
public Map<String, Object> getHasRight() {
return getStaffPlanService(user).getHasRight();
}
}