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