package dao import ( "context" "fmt" "go-common/app/job/main/member/model" "go-common/library/database/sql" "go-common/library/time" ) const ( _initExp = "INSERT IGNORE INTO user_exp_%02d (mid) VALUES (?)" _updateExpAped = `UPDATE user_exp_%02d SET exp=exp+?,flag=flag|? WHERE mid=? AND flag&?=0` _updateExpFlag = `UPDATE user_exp_%02d SET addtime=?,flag=? WHERE mid=? AND addtime