gydx_2024_lyh 2 mēneši atpakaļ
vecāks
revīzija
5e82166109

+ 2 - 0
src/main/java/com/gydx/vo/FoodSupplierVO.java

@@ -11,5 +11,7 @@ public class FoodSupplierVO {
     private String FoodSupplierLink;
     private Integer FoodSupplierStatus;
     private String FoodSupplierPass;
+    private String FoodSupplierLocationlatitude;
+    private String FoodSupplierLocationlongitude;
 
 }

+ 4 - 2
src/main/resources/mapper/VendorManagementMapper.xml

@@ -15,7 +15,9 @@
         set FoodSupplierName= case when #{FoodSupplierName} is not null then #{FoodSupplierName} else FoodSupplierName end,
             FoodSupplierLink= case when #{FoodSupplierLink} is not null then #{FoodSupplierLink} else FoodSupplierLink end,
             FoodSupplierStatus= case when #{FoodSupplierStatus} is not null then #{FoodSupplierStatus} else FoodSupplierStatus end,
-            FoodSupplierPass= case when #{FoodSupplierPass} is not null then #{FoodSupplierPass} else FoodSupplierPass end
+            FoodSupplierPass= case when #{FoodSupplierPass} is not null then #{FoodSupplierPass} else FoodSupplierPass end,
+            FoodSupplierLocationlatitude=case when #{FoodSupplierLocationlatitude} is not null then #{FoodSupplierLocationlatitude} else FoodSupplierLocationlatitude end,
+            FoodSupplierLocationlongitude=case when #{FoodSupplierLocationlongitude} is not null then #{FoodSupplierLocationlongitude} else FoodSupplierLocationlongitude end
         where FoodSupplierID = #{FoodSupplierID}
     </update>
 
@@ -25,7 +27,7 @@
 
 
     <select id="querySupplier" resultMap="rmlyh" parameterMap="pmlyh">
-        select item.FoodSupplierName,item.FoodSupplierLink,item.FoodSupplierStatus,item.FoodSupplierID from FoodSupplier item
+        select * from FoodSupplier item
     </select>
     <select id="queryLoginlyh" resultMap="rmlyh" parameterMap="pmlyh">
         select item.FoodSupplierName,item.FoodSupplierLink,item.FoodSupplierStatus,item.FoodSupplierID from FoodSupplier item where item.FoodSupplierLink = #{FoodSupplierLink} and item.FoodSupplierPass = #{FoodSupplierPass}