编号管理
parent
6601f117cd
commit
7c950e8626
@ -1,10 +1,13 @@
|
||||
package com.api.organization.web;
|
||||
|
||||
import javax.ws.rs.Path;
|
||||
|
||||
/**
|
||||
* @Author weaver_cl
|
||||
* @Description: TODO
|
||||
* @Date 2022/5/30
|
||||
* @Version V1.0
|
||||
**/
|
||||
public class CodeSettingController {
|
||||
@Path("/bs/hrmorganization/codeSetting")
|
||||
public class CodeSettingController extends com.engine.organization.web.CodeSettingController {
|
||||
}
|
||||
|
@ -1,12 +1,25 @@
|
||||
package com.engine.organization.wrapper;
|
||||
|
||||
import com.engine.common.util.ServiceUtil;
|
||||
import com.engine.core.impl.Service;
|
||||
import com.engine.organization.service.CodeSettingService;
|
||||
import com.engine.organization.service.impl.CodeSettingServiceImpl;
|
||||
import com.engine.organization.util.response.ReturnResult;
|
||||
import weaver.hrm.User;
|
||||
|
||||
/**
|
||||
* @Author weaver_cl
|
||||
* @Description: TODO
|
||||
* @Date 2022/5/30
|
||||
* @Version V1.0
|
||||
**/
|
||||
public class CodeSettingWrapper {
|
||||
public class CodeSettingWrapper extends Service {
|
||||
|
||||
public CodeSettingService getCodeSettingService(User user) {
|
||||
return ServiceUtil.getService(CodeSettingServiceImpl.class,user);
|
||||
}
|
||||
|
||||
public ReturnResult getHasRight(String serialtype) {
|
||||
return getCodeSettingService(user).getHasRight(serialtype);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue