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/GradeWrapper.java

112 lines
2.5 KiB
Java

package com.engine.organization.wrapper;
import com.engine.common.util.ServiceUtil;
import com.engine.core.impl.Service;
import com.engine.organization.entity.scheme.param.LevelSearchParam;
import com.engine.organization.service.LevelService;
import com.engine.organization.service.impl.LevelServiceImpl;
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/10
* @version: 1.0
*/
public class GradeWrapper extends Service {
private LevelService getLevelService(User user) {
return ServiceUtil.getService(LevelServiceImpl.class, user);
}
/**
*
*
* @param params
* @return
*/
public Map<String, Object> listPage(Map<String, Object> params) {
return getLevelService(user).listPage(params);
}
/**
*
*
* @param param
* @return
*/
public int saveLevel(LevelSearchParam param) {
return getLevelService(user).saveLevel(param);
}
/**
*
*
* @param param
* @return
*/
public int updateLevel(LevelSearchParam param) {
return getLevelService(user).updateLevel(param);
}
/**
*
*
* @param params
*/
public int updateForbiddenTagById(LevelSearchParam params) {
return getLevelService(user).updateForbiddenTagById(params);
}
/**
* ID
*
* @param ids
*/
public int deleteByIds(@Param("ids") Collection<Long> ids) {
return getLevelService(user).deleteByIds(ids);
}
/**
*
*
* @param params
* @return
*/
public Map<String, Object> getSearchCondition(Map<String, Object> params) {
return getLevelService(user).getSearchCondition(params);
}
/**
*
*
* @param params
* @return
*/
public Map<String, Object> getLevelForm(Map<String, Object> params) {
return getLevelService(user).getLevelForm(params);
}
/**
*
*
* @return
*/
public Map<String, Object> getTableBtn() {
return getLevelService(user).getTableBtn();
}
/**
* tabs
*
* @return
*/
public Map<String, Object> getTabInfo() {
return getLevelService(user).getTabInfo();
}
}