bkevin0829 發表於 2020-7-3 22:29:59

批量设置道具属性的SQL语句

<ol><li>/*批量设置所有道具库存为9999*/<br /><li>&nbsp; &nbsp; UPDATE pre_common_magic SET num = 9999;<br /><li>/*批量设置所有道具自动补货9999个*/<br /><li>&nbsp; &nbsp; UPDATE pre_common_magic SET supplynum = 9999;<br /><li>/*批量设置所有道具自动补货周期为每天(0不补货,1每天,2每周,3每月)*/<br /><li>&nbsp; &nbsp; UPDATE pre_common_magic SET supplytype = 3;<br /><li>/*批量设置所有道具重量为1*/<br /><li>&nbsp; &nbsp; UPDATE pre_common_magic SET weight = 1;<br /><li>/*批量设置所有道具排列数值为100*/&nbsp; &nbsp; <br /><li>&nbsp; &nbsp; UPDATE pre_common_magic SET displayorder = 100;</ol>批量<em>, </em>设置<em>, </em>道具<em>, </em>性的<em>, </em>SQL

lemon 發表於 2020-7-5 20:18:39

支持分享技术文章。
頁: [1]
查看完整版本: 批量设置道具属性的SQL语句