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