- Store and StoreMap add DeletedAt.
This commit is contained in:
@@ -16,17 +16,17 @@ func NormalFilterMapByStructObject(mapData map[string]interface{}, obj interface
|
||||
|
||||
func NormalMakeMapByStructObject(mapData map[string]interface{}, obj interface{}, userName string) (retVal map[string]interface{}) {
|
||||
retVal, _ = NormalFilterMapByStructObject(mapData, obj)
|
||||
if len(retVal) > 0 {
|
||||
WrapUpdateULEntity(retVal, userName)
|
||||
}
|
||||
// if len(retVal) > 0 {
|
||||
// WrapUpdateULEntity(retVal, userName)
|
||||
// }
|
||||
return retVal
|
||||
}
|
||||
|
||||
func NormalMakeMapByFieldList(mapData map[string]interface{}, fields []string, userName string) (retVal map[string]interface{}) {
|
||||
retVal, _ = jxutils.FilterMapByFieldList(mapData, fields)
|
||||
if len(retVal) > 0 {
|
||||
WrapUpdateULEntity(retVal, userName)
|
||||
}
|
||||
// if len(retVal) > 0 {
|
||||
// WrapUpdateULEntity(retVal, userName)
|
||||
// }
|
||||
return retVal
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user