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

123 lines
2.7 KiB
Java

package com.engine.organization.wrapper;
import com.engine.common.util.ServiceUtil;
import com.engine.core.impl.Service;
3 years ago
import com.engine.organization.entity.company.param.CompSearchParam;
3 years ago
import com.engine.organization.entity.department.param.DepartmentMoveParam;
import com.engine.organization.service.CompService;
import com.engine.organization.service.impl.CompServiceImpl;
import weaver.hrm.User;
import java.util.Collection;
import java.util.Map;
/**
3 years ago
* @description:
* @author:dxfeng
* @createTime: 2022/05/16
* @version: 1.0
*/
public class CompWrapper extends Service {
private CompService getCompService(User user) {
return ServiceUtil.getService(CompServiceImpl.class, user);
}
/**
*
*
* @param params
* @return
*/
public Map<String, Object> listPage(CompSearchParam params) {
return getCompService(user).listPage(params);
}
/**
* /
*
* @param params
* @return
*/
public Long saveBaseComp(Map<String, Object> params) {
return getCompService(user).saveBaseComp(params);
}
/**
*
*
* @param params
*/
public int updateForbiddenTagById(CompSearchParam params) {
return getCompService(user).updateForbiddenTagById(params);
}
/**
*
*
* @param params
* @return
*/
public Long updateComp(Map<String, Object> params) {
return getCompService(user).updateComp(params);
}
/**
* ID
*
* @param ids
*/
public int deleteByIds(Collection<Long> ids) {
return getCompService(user).deleteByIds(ids);
}
/**
*
*
* @param params
* @return
*/
public Map<String, Object> getSearchCondition(Map<String, Object> params) {
return getCompService(user).getSearchCondition(params);
}
/**
*
*
* @return
*/
public Map<String, Object> getHasRight() {
return getCompService(user).getHasRight();
}
/**
*
*
* @param params
* @return
*/
public Map<String, Object> getCompBaseForm(Map<String, Object> params) {
return getCompService(user).getCompBaseForm(params);
}
/**
*
*
* @return
*/
public Map<String, Object> getCompSaveForm() {
return getCompService(user).getCompSaveForm();
}
3 years ago
/**
*
*
* @param moveParam
* @return
*/
public int moveCompany(DepartmentMoveParam moveParam) {
return getCompService(user).moveCompany(moveParam);
}
}