1.修改绑定第三方仓库代码,调整为动态列更新

master
MrZhai 4 years ago
parent 0c05883c2b
commit 379082c9aa

@ -20,15 +20,6 @@ public interface InvWarehouseDao {
boolean deleteById(@Param("id") String id);
/**
* ID
*
* @param id
* @param thridWarehouseId
* @return
*/
boolean updateThridId(@Param("id") Integer id, @Param("thridWarehouseId") Integer thridWarehouseId);
/**
* ID
*
@ -37,5 +28,5 @@ public interface InvWarehouseDao {
* @param sysId
* @return
*/
boolean updateThridId(Integer id, Integer thridWarehouseId, String sysId);
boolean updateThridId(@Param("id") Integer id, @Param("thridWarehouseId") Integer thridWarehouseId, @Param("sysId") String sysId);
}

@ -106,6 +106,6 @@
</update>
<update id="updateThridId">
update inv_warehouse set thirdId = #{thridWarehouseId} where id = #{id}
update inv_warehouse set ${sysId} = ${thridWarehouseId} where id = ${id}
</update>
</mapper>
Loading…
Cancel
Save