- add created_at, updated_at, last_operator to WeiXins
This commit is contained in:
@@ -16,7 +16,8 @@ func CreateWeiXins(db *DaoDB, user *legacymodel.WeiXins) (err error) {
|
||||
openid = IF(openid = '', NULL, openid),
|
||||
openid_mini = IF(openid_mini = '', NULL, openid_mini),
|
||||
openid_union = IF(openid_union = '', NULL, openid_union),
|
||||
tel = IF(tel = '', NULL, tel)
|
||||
tel = IF(tel = '', NULL, tel),
|
||||
parentid = IF(parentid = 0, -1, parentid)
|
||||
WHERE id = ?
|
||||
`, user.ID); err != nil {
|
||||
Rollback(db)
|
||||
|
||||
Reference in New Issue
Block a user