|
|
@@ -15,8 +15,8 @@ import (
|
|
|
var (
|
|
|
mktResourceFieldNames = builderx.RawFieldNames(&MktResource{})
|
|
|
mktResourceRows = strings.Join(mktResourceFieldNames, ",")
|
|
|
- mktResourceRowsExpectAutoSet = strings.Join(stringx.Remove(mktResourceFieldNames, "`id`"), ",")
|
|
|
- mktResourceRowsWithPlaceHolder = strings.Join(stringx.Remove(mktResourceFieldNames, "`id`"), "=?,") + "=?"
|
|
|
+ mktResourceRowsExpectAutoSet = strings.Join(stringx.Remove(mktResourceFieldNames, "`id`", "`update_time`"), ",")
|
|
|
+ mktResourceRowsWithPlaceHolder = strings.Join(stringx.Remove(mktResourceFieldNames, "`id`", "`update_time`"), "=?,") + "=?"
|
|
|
|
|
|
cacheMktResourceIdPrefix = "cache:mktResource:id:"
|
|
|
)
|