| | |
| | | * */ |
| | | List<ComActProceedings> pageProceedings(Page page, @Param("keyWord") String keyWord); |
| | | |
| | | |
| | | } |
| | |
| | | /** |
| | | * 是否删除0否1是 |
| | | */ |
| | | private Boolean delFlag; |
| | | private Integer delFlag; |
| | | |
| | | /** |
| | | * 状态0可用1禁用 |
| | | */ |
| | | private Boolean status; |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 创建时间 |
| | |
| | | ComActProceedings comActProceedings=new ComActProceedings(); |
| | | comActProceedings.setId(Snowflake.getId()); |
| | | comActProceedings.setCreateTime(new Date()); |
| | | int i = comActProceedingsDao.insertSelective(comActProceedings); |
| | | comActProceedings.setDelFlag(0); |
| | | comActProceedings.setStatus(0); |
| | | int i = comActProceedingsDao.insert(comActProceedings); |
| | | if (i>0){ |
| | | return R.ok(); |
| | | } |
| | |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.panzhihua.service_community.entity.ComActProceedings" useGeneratedKeys="true"> |
| | | insert into com_act_proceedings (id,`name`, unit_name, unit_id, |
| | | introduce, del_flag, `status`, |
| | | create_time, create_by, update_time, |
| | | update_by) |
| | | values (#{name,jdbcType=VARCHAR}, #{unitName,jdbcType=VARCHAR}, #{unitId,jdbcType=BIGINT}, |
| | | create_time) |
| | | values (#{id},#{name,jdbcType=VARCHAR}, #{unitName,jdbcType=VARCHAR}, #{unitId,jdbcType=BIGINT}, |
| | | #{introduce,jdbcType=VARCHAR}, #{delFlag,jdbcType=BIT}, #{status,jdbcType=BIT}, |
| | | #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, |
| | | #{updateBy,jdbcType=TIMESTAMP}) |
| | | #{createTime,jdbcType=TIMESTAMP}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.panzhihua.service_community.entity.ComActProceedings" useGeneratedKeys="true"> |
| | | insert into com_act_proceedings |