dev
parent
9dc3185231
commit
f9a63a7699
|
|
@ -94,7 +94,7 @@ public class Config extends JFinalConfig {
|
|||
public static DeviceThread deviceThread = new DeviceThread();
|
||||
public static SocketIOService socketio = null;
|
||||
private static boolean client_run = true;
|
||||
public static final String CLINET_VERSION = "20201024";
|
||||
public static final String CLINET_VERSION = "20201026";
|
||||
|
||||
public static String getRootPath() {
|
||||
return PathKit.getWebRootPath()
|
||||
|
|
|
|||
|
|
@ -145,7 +145,10 @@ public class InvoiceLogController extends Controller {
|
|||
if (tokenuser == null) {
|
||||
renderJson(Result.noauth());
|
||||
return;
|
||||
} else if (!SysuserSyncService.me.isTreasurer(tokenuser.getRole())) { // 财务才能录入专票
|
||||
} else if (
|
||||
!SysuserSyncService.me.isTreasurer(tokenuser.getRole())
|
||||
&& !SysuserSyncService.me.isPresident(tokenuser.getRole())
|
||||
) { // 和经理录入专票
|
||||
renderJson(Result.permissionDenied());
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ public class SysuserSyncService extends BaseSyncService {
|
|||
|
||||
/**
|
||||
* 2020-03-7 财务和总经理,必须选砂站管理员?
|
||||
* 是否是财务人员
|
||||
* 是否是公司经理人员
|
||||
*
|
||||
* @param roleid
|
||||
* @return
|
||||
|
|
|
|||
Loading…
Reference in New Issue