Ver Fonte

装备资源库支持ispicture是否画册

eganwu há 1 ano atrás
pai
commit
b6c14e49f3

+ 3 - 1
src/custom/restcontroller/webmanage/saletool/sharematerial/EquipmentResourceLibrary.java

@@ -60,6 +60,7 @@ public class EquipmentResourceLibrary extends Controller {
             sqlFactory.setValue("canshared_c", content.getBooleanValue("canshared_c"));
             sqlFactory.setValue("candownload", content.getBooleanValue("candownload"));
             sqlFactory.setValue("candownload_c", content.getBooleanValue("candownload_c"));
+            sqlFactory.setValue("ispicture", content.getBooleanValue("ispicture"));
 
             sqlFactory.insert();
             content.put("sat_sharematerialid", sat_sharematerialid);
@@ -79,6 +80,7 @@ public class EquipmentResourceLibrary extends Controller {
             sqlFactory.setValue("canshared_c", content.getBooleanValue("canshared_c"));
             sqlFactory.setValue("candownload", content.getBooleanValue("candownload"));
             sqlFactory.setValue("candownload_c", content.getBooleanValue("candownload_c"));
+            sqlFactory.setValue("ispicture", content.getBooleanValue("ispicture"));
 
             sqlFactory.update();
         }
@@ -93,7 +95,7 @@ public class EquipmentResourceLibrary extends Controller {
         QuerySQL sqlFactory = SQLFactory.createQuerySQL(this, sat_sharematerial
                         , "sat_sharematerialid", "type", "status", "sequence", "title", "canshared_c", "candownload_c", "candownload"
                         , "sat_sharematerial_classids", "mailcount", "canshared", "downloadcount", "isqrcode", "qrcodecontent", "sharecount", "readcount"
-                        , "createby", "createdate", "checkby", "checkdate", "changeby", "changedate")
+                        , "createby", "createdate", "checkby", "checkdate", "changeby", "changedate","ispicture")
                 .setTableAlias("t1");
         sqlFactory.setUniqueid(sat_sharematerialid);
         sqlFactory.setSiteid(siteid);