Explorar o código

员工详情查询报错修复

沈静伟 %!s(int64=2) %!d(string=hai) anos
pai
achega
8da9806db8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/custom/restcontroller/webmanage/hr/hr.java

+ 1 - 1
src/custom/restcontroller/webmanage/hr/hr.java

@@ -89,7 +89,7 @@ public class hr extends Controller {
     @API(title = "员工详情查询")
     @CACHEING
     public String query_hrMain() throws YosException {
-        long hrid = content.getLong("hrid");
+        long hrid = content.getLongValue("hrid");
         SQLFactory userSQL = new SQLFactory(this, "员工详情查询");
         userSQL.addParameter("hrid", hrid);
         userSQL.addParameter("siteid", siteid);