ソースを参照

2021-11-18 9:59 bgj

sjw 4 年 前
コミット
4ce8453a3a

+ 3 - 3
src/rest/openapi/restcontroller/housekeeper/titem/AgentTitem.java

@@ -92,13 +92,13 @@ public class AgentTitem extends Controller {
                     addtitem.setValue("fitemname",where.getString("fitemname"),11l);
                     addtitem.setValue("fisused",where.getBoolean("fisused"),11l);
                     if(where.containsKey("fmodel")&&StringUtils.isBlank("fmodel")){
-                        addtitem.setValue("fmodel",where.getBoolean("fmodel"),11l);
+                        addtitem.setValue("fmodel",where.getString("fmodel"),11l);
                     }
                     if(where.containsKey("fspec")&&StringUtils.isBlank("fspec")){
-                        addtitem.setValue("fspec",where.getBoolean("fspec"),11l);
+                        addtitem.setValue("fspec",where.getString("fspec"),11l);
                     }
                     if(where.containsKey("fnotes")&&StringUtils.isBlank("fnotes")){
-                        addtitem.setValue("fnotes",where.getBoolean("fnotes"),11l);
+                        addtitem.setValue("fnotes",where.getString("fnotes"),11l);
                     }
                     long uniqueIDValue = addtitem.getUniqueIDValue();
                     tagents_titem.save();