|
@@ -2517,6 +2517,12 @@ public class Order extends Controller {
|
|
|
return getSucReturnObject().toString();
|
|
return getSucReturnObject().toString();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @API(title = "获取当前账号的角色名", apiversion = R.ID20230524160003.v1.class)
|
|
|
|
|
+ public String getrolename() throws YosException {
|
|
|
|
|
+ Rows rows = dbConnect.runSqlQuery("select rolename from sys_userrole t1 inner join sys_role t2 on t1.roleid=t2.roleid and t1.siteid=t2.siteid where t1.siteid='"+siteid+"' and t1.userid="+userid);
|
|
|
|
|
+ return getSucReturnObject().setData(rows).toString();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// @API(title = "发货单手动关闭", apiversion = R.ID20230406155302.v1.class)
|
|
// @API(title = "发货单手动关闭", apiversion = R.ID20230406155302.v1.class)
|
|
|
// @Deprecated
|
|
// @Deprecated
|
|
|
// public String closeDispatch() throws YosException {
|
|
// public String closeDispatch() throws YosException {
|