Sfoglia il codice sorgente

员工详情查询报错修复

沈静伟 1 anno fa
parent
commit
8da9806db8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);