mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-18 03:16:40 +08:00
Merge branch 'master' of https://gitee.com/lab1024/smart-admin
This commit is contained in:
commit
c7501c7f36
@ -37,13 +37,13 @@ public interface ${name.upperCamel}Dao extends BaseMapper<${name.upperCamel}Enti
|
||||
/**
|
||||
* 更新删除状态
|
||||
*/
|
||||
long updateDeleted(@Param("${primaryKeyFieldName}")${primaryKeyJavaType} ${primaryKeyFieldName},@Param("${deletedFlag}")boolean deletedFlag);
|
||||
long updateDeleted(@Param("${primaryKeyFieldName}")${primaryKeyJavaType} ${primaryKeyFieldName},@Param("deletedFlag")boolean deletedFlag);
|
||||
#end
|
||||
#if($deleteInfo.deleteEnum == "Batch" || $deleteInfo.deleteEnum == "SingleAndBatch")
|
||||
/**
|
||||
* 批量更新删除状态
|
||||
*/
|
||||
void batchUpdateDeleted(@Param("idList")List<${primaryKeyJavaType}> idList,@Param("${deletedFlag}")boolean deletedFlag);
|
||||
void batchUpdateDeleted(@Param("idList")List<${primaryKeyJavaType}> idList,@Param("deletedFlag")boolean deletedFlag);
|
||||
#end
|
||||
#end
|
||||
#end
|
||||
|
@ -13,7 +13,7 @@ $importClass
|
||||
*/
|
||||
|
||||
@Data
|
||||
public class ${name.upperCamel}UpdateForm {
|
||||
public class ${name.upperCamel}UpdateForm extends ${name.upperCamel}AddForm{
|
||||
#foreach ($field in $fields)
|
||||
|
||||
#if($field.isEnum)
|
||||
|
Loading…
Reference in New Issue
Block a user