eganwu преди 1 година
родител
ревизия
4926384773
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/custom/restcontroller/saletool/sharematerial/sharematerial.java

+ 1 - 1
src/custom/restcontroller/saletool/sharematerial/sharematerial.java

@@ -209,7 +209,7 @@ public class sharematerial extends Controller {
     public String selectDetail() throws YosException {
 
 
-        Long sat_sharematerialid = content.getLong("sat_sharematerialid");
+        Long sat_sharematerialid = content.getLongValue("sat_sharematerialid");
         //新增记录
         addReadLog(sat_sharematerialid);
         SQLFactory sqlFactory = new SQLFactory(this, "素材-详细");