完善合约状态字典,调整新增合约、修改合约、审核合约(包括会员的自动添加),未处理合约模块的权限。

This commit is contained in:
jlt 2022-04-05 00:54:02 +08:00
parent d0b70c1c40
commit c703bb5da1
11 changed files with 552 additions and 127 deletions

View File

@ -15,6 +15,13 @@
<description>私家农场(社区支持农业)管理系统</description>
<dependencies>
<!-- spring-boot-devtools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional> <!-- 表示依赖不会传递 -->
</dependency>
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-common</artifactId>
@ -39,4 +46,25 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.1.1.RELEASE</version>
<configuration>
<fork>true</fork> <!-- 如果没有该配置devtools不会生效 -->
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<finalName>${project.artifactId}</finalName>
</build>
</project>

View File

@ -2,16 +2,12 @@ package com.jlt.csa.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.common.utils.DictUtils;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
@ -77,6 +73,8 @@ public class FarmerContractController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody FarmerContract farmerContract)
{
farmerContract.countDays();
farmerContract.setStatus(DictUtils.getDictValue("csa_contract_status", "待定"));
farmerContract.setCreateBy(getUsername());
return toAjax(farmerContractService.insertFarmerContract(farmerContract));
}
@ -89,6 +87,9 @@ public class FarmerContractController extends BaseController
@PutMapping
public AjaxResult edit(@RequestBody FarmerContract farmerContract)
{
logger.error("--==> AAA");
farmerContract.countDays();
farmerContract.setStatus(null);
farmerContract.setUpdateBy(getUsername());
return toAjax(farmerContractService.updateFarmerContract(farmerContract));
}
@ -101,6 +102,21 @@ public class FarmerContractController extends BaseController
@DeleteMapping("/{contractIds}")
public AjaxResult remove(@PathVariable Long[] contractIds)
{
return toAjax(farmerContractService.deleteFarmerContractByContractIds(contractIds));
if (contractIds.length == 1) {
return toAjax(farmerContractService.deleteFarmerContractByContractId(contractIds[0]));
} else {
return toAjax(farmerContractService.deleteFarmerContractByContractIds(contractIds));
}
}
/**
* 审核会员合约
*/
@PreAuthorize("@ss.hasPermi('csa:contract:edit')")
@Log(title = "会员签约", businessType = BusinessType.UPDATE)
@PutMapping("/audit/{contractId}")
public AjaxResult audit(@PathVariable Long contractId)
{
return toAjax(farmerContractService.auditContract(contractId));
}
}

View File

@ -1,15 +1,11 @@
package com.jlt.csa.domain;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.Period;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
import java.util.Date;
import java.util.TimeZone;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
@ -34,9 +30,9 @@ public class FarmerContract extends BaseEntity
@Excel(name = "会员id")
private Long farmerId;
/** 会员姓名 */
@Excel(name = "会员姓名")
private String memberName;
/** 签约人 */
@Excel(name = "签约人")
private String contractor;
/** 合约金币 */
@Excel(name = "合约金币")
@ -124,14 +120,14 @@ public class FarmerContract extends BaseEntity
{
return farmerId;
}
public void setMemberName(String memberName)
public void setContractor(String contractor)
{
this.memberName = memberName;
this.contractor = contractor;
}
public String getMemberName()
public String getContractor()
{
return memberName;
return contractor;
}
public void setCoins(BigDecimal coins)
{
@ -237,7 +233,7 @@ public class FarmerContract extends BaseEntity
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("contractId", getContractId())
.append("farmerId", getFarmerId())
.append("memberName", getMemberName())
.append("memberName", getContractor())
.append("coins", getCoins())
.append("balance", getBalance())
.append("weight", getWeight())

View File

@ -2,6 +2,7 @@ package com.jlt.csa.mapper;
import java.util.List;
import com.jlt.csa.domain.FarmerContract;
import org.apache.ibatis.annotations.Param;
/**
* 会员签约Mapper接口
@ -49,7 +50,7 @@ public interface FarmerContractMapper
* @param contractId 会员签约主键
* @return 结果
*/
public int deleteFarmerContractByContractId(Long contractId);
public int deleteFarmerContractByContractId(@Param("contractId") Long contractId, @Param("status") String status);
/**
* 批量删除会员签约
@ -57,5 +58,5 @@ public interface FarmerContractMapper
* @param contractIds 需要删除的数据主键集合
* @return 结果
*/
public int deleteFarmerContractByContractIds(Long[] contractIds);
public int deleteFarmerContractByContractIds(@Param("contractIds") Long[] contractIds, @Param("status") String status);
}

View File

@ -2,6 +2,9 @@ package com.jlt.csa.service;
import java.util.List;
import com.jlt.csa.domain.FarmerContract;
import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.PathVariable;
/**
* 会员签约Service接口
@ -58,4 +61,11 @@ public interface IFarmerContractService
* @return 结果
*/
public int deleteFarmerContractByContractId(Long contractId);
/**
* 审核会员签约信息
* @param contractId 合约id
* @return 受影响的记录数
*/
public int auditContract(@PathVariable Long contractId);
}

View File

@ -1,12 +1,22 @@
package com.jlt.csa.service.impl;
import java.math.BigDecimal;
import java.util.List;
import com.jlt.csa.domain.Farmer;
import com.jlt.csa.service.IFarmerService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.DictUtils;
import com.ruoyi.common.utils.ExceptionUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jlt.csa.mapper.FarmerContractMapper;
import com.jlt.csa.domain.FarmerContract;
import com.jlt.csa.service.IFarmerContractService;
import org.springframework.transaction.annotation.Transactional;
import static com.ruoyi.common.utils.SecurityUtils.getUsername;
/**
* 会员签约Service业务层处理
@ -17,8 +27,83 @@ import com.jlt.csa.service.IFarmerContractService;
@Service
public class FarmerContractServiceImpl implements IFarmerContractService
{
@Autowired
private FarmerContractMapper farmerContractMapper;
private IFarmerService farmerService;
@Autowired
public void setFarmerContractMapper(FarmerContractMapper farmerContractMapper) {
this.farmerContractMapper = farmerContractMapper;
}
@Autowired
public void setFarmerService(IFarmerService farmerService) {
this.farmerService = farmerService;
}
/**
* 审核会员签约信息
* @param contractId 合约id
* @return 受影响的记录数
*/
@Override
@Transactional
public int auditContract(Long contractId) {
// 载入合约
FarmerContract contract = selectFarmerContractByContractId(contractId);
// 检查合约是否存在
if (contract == null) {
throw new RuntimeException("合约不存在,无法审核!");
}
// 合约不符合审核条件返回错误提示
if (!contract.getStatus().equals(DictUtils.getDictValue("csa_contract_status", "待定"))) {
throw new RuntimeException("该合约不符合审核条件!");
}
Farmer farmer = null;
if (contract.getFarmerId() == null) {
// 如果是新签新建地主信息
farmer = new Farmer();
farmer.setName("待绑定");
farmer.setCoins(new BigDecimal(0));
farmer.setBalance(new BigDecimal(0));
farmer.setWeight(new BigDecimal(0));
farmer.setArchedYears(0L);
farmer.setJoinDate(contract.getJoinDate());
farmer.setIsExpire("N");
} else {
// 老地主载入地主信息
farmer = farmerService.selectFarmerByFarmerId(contract.getFarmerId());
if (farmer == null)
throw new RuntimeException("该合约指向了不存在的会员信息,无法审核!");
}
// 累计合约信息至地主菜地有效期需要在绑定地块时处理
farmer.setCoins(farmer.getCoins().add(contract.getCoins()));
farmer.setBalance(farmer.getBalance().add(contract.getBalance()));
farmer.setWeight(farmer.getWeight().add(contract.getWeight()));
farmer.setArchedYears(farmer.getArchedYears() + contract.getArchedYears());
// 构建合约更新字段
contract = new FarmerContract();
contract.setContractId(contractId);
contract.setStatus("0");
contract.setUpdateBy(getUsername());
if (contract.getFarmerId() == null) {
// 新地主新签
farmerService.insertFarmer(farmer);
contract.setFarmerId(farmer.getFarmerId());
} else {
// 老地主续签
farmerService.updateFarmer(farmer);
}
return updateFarmerContract(contract);
}
/**
* 查询会员签约
@ -53,7 +138,6 @@ public class FarmerContractServiceImpl implements IFarmerContractService
@Override
public int insertFarmerContract(FarmerContract farmerContract)
{
farmerContract.countDays();
farmerContract.setCreateTime(DateUtils.getNowDate());
return farmerContractMapper.insertFarmerContract(farmerContract);
}
@ -67,13 +151,13 @@ public class FarmerContractServiceImpl implements IFarmerContractService
@Override
public int updateFarmerContract(FarmerContract farmerContract)
{
farmerContract.countDays();
System.out.println("----------------=====> 111");
farmerContract.setUpdateTime(DateUtils.getNowDate());
return farmerContractMapper.updateFarmerContract(farmerContract);
}
/**
* 批量删除会员签约
* 批量逻辑删除会员签约
*
* @param contractIds 需要删除的会员签约主键
* @return 结果
@ -81,7 +165,7 @@ public class FarmerContractServiceImpl implements IFarmerContractService
@Override
public int deleteFarmerContractByContractIds(Long[] contractIds)
{
return farmerContractMapper.deleteFarmerContractByContractIds(contractIds);
return farmerContractMapper.deleteFarmerContractByContractIds(contractIds, "1");
}
/**
@ -93,6 +177,6 @@ public class FarmerContractServiceImpl implements IFarmerContractService
@Override
public int deleteFarmerContractByContractId(Long contractId)
{
return farmerContractMapper.deleteFarmerContractByContractId(contractId);
return farmerContractMapper.deleteFarmerContractByContractId(contractId, "1");
}
}

View File

@ -7,7 +7,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<resultMap type="FarmerContract" id="FarmerContractResult">
<result property="contractId" column="contract_id" />
<result property="farmerId" column="farmer_id" />
<result property="memberName" column="member_name" />
<result property="contractor" column="contractor" />
<result property="coins" column="coins" />
<result property="balance" column="balance" />
<result property="weight" column="weight" />
@ -27,16 +27,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectFarmerContractVo">
select contract_id, farmer_id, member_name, coins, balance, weight, arched_years, activate_way, join_credential_no, join_date, due_date, days, status, del_flag, create_by, create_time, update_by, update_time, remark from csa_farmer_contract
select contract_id, farmer_id, contractor, coins, balance, weight, arched_years, activate_way, join_credential_no, join_date, due_date, days, status, del_flag, create_by, create_time, update_by, update_time, remark from csa_farmer_contract
</sql>
<select id="selectFarmerContractList" parameterType="FarmerContract" resultMap="FarmerContractResult">
<include refid="selectFarmerContractVo"/>
<where>
<if test="memberName != null and memberName != ''"> and member_name like concat('%', #{memberName}, '%')</if>
<if test="contractor != null and contractor != ''"> and contractor like concat('%', #{contractor}, '%')</if>
<if test="joinDate != null "> and join_date = #{joinDate}</if>
<if test="dueDate != null "> and due_date = #{dueDate}</if>
<if test="status != null and status != ''"> and status = #{status}</if>
<if test="status != null and status != ''"> and status = #{status}</if>
<if test="delFlag == null or delFlag == ''"> and del_flag = '0'</if>
<if test="delFlag != null and delFlag != ''"> and status = #{status}</if>
</where>
</select>
@ -49,7 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
insert into csa_farmer_contract
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="farmerId != null">farmer_id,</if>
<if test="memberName != null and memberName != ''">member_name,</if>
<if test="contractor != null and contractor != ''">contractor,</if>
<if test="coins != null">coins,</if>
<if test="balance != null">balance,</if>
<if test="weight != null">weight,</if>
@ -69,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="farmerId != null">#{farmerId},</if>
<if test="memberName != null and memberName != ''">#{memberName},</if>
<if test="contractor != null and contractor != ''">#{contractor},</if>
<if test="coins != null">#{coins},</if>
<if test="balance != null">#{balance},</if>
<if test="weight != null">#{weight},</if>
@ -93,7 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update csa_farmer_contract
<trim prefix="SET" suffixOverrides=",">
<if test="farmerId != null">farmer_id = #{farmerId},</if>
<if test="memberName != null and memberName != ''">member_name = #{memberName},</if>
<if test="contractor != null and contractor != ''">contractor = #{contractor},</if>
<if test="coins != null">coins = #{coins},</if>
<if test="balance != null">balance = #{balance},</if>
<if test="weight != null">weight = #{weight},</if>
@ -114,14 +116,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where contract_id = #{contractId}
</update>
<delete id="deleteFarmerContractByContractId" parameterType="Long">
delete from csa_farmer_contract where contract_id = #{contractId}
<delete id="deleteFarmerContractByContractId">
update csa_farmer_contract set del_flag = '2' where contract_id = #{contractId}
<if test="status != null and status != ''"> and status = #{status}</if>
</delete>
<delete id="deleteFarmerContractByContractIds" parameterType="String">
delete from csa_farmer_contract where contract_id in
<foreach item="contractId" collection="array" open="(" separator="," close=")">
<delete id="deleteFarmerContractByContractIds">
update csa_farmer_contract set del_flag = '2' where contract_id in
<foreach item="contractId" collection="contractIds" open="(" separator="," close=")">
#{contractId}
</foreach>
<if test="status != null and status != ''"> and status = #{status}</if>
</delete>
</mapper>

View File

@ -35,6 +35,14 @@ export function updateContract(data) {
})
}
// 审核会员签约
export function auditContract(id) {
return request({
url: '/csa/contract/audit/' + id,
method: 'put'
})
}
// 删除会员签约
export function delContract(contractId) {
return request({

View File

@ -1,9 +1,9 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="姓名" prop="memberName">
<el-form-item label="姓名" prop="contractor">
<el-input
v-model="queryParams.memberName"
v-model="queryParams.contractor"
placeholder="请输入姓名"
clearable
@keyup.enter.native="handleQuery"
@ -40,19 +40,19 @@
size="mini"
@click="handleAdd"
v-hasPermi="['csa:contract:add']"
>新增
>录入
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
icon="el-icon-s-check"
size="mini"
:disabled="single"
@click="handleUpdate"
@click="handleAudit"
v-hasPermi="['csa:contract:edit']"
>修改
>审核
</el-button>
</el-col>
<el-col :span="1.5">
@ -61,12 +61,36 @@
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
:disabled="single"
@click="handleInvalid"
v-hasPermi="['csa:contract:remove']"
>删除
>作废
</el-button>
</el-col>
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- type="success"-->
<!-- plain-->
<!-- icon="el-icon-edit"-->
<!-- size="mini"-->
<!-- :disabled="single"-->
<!-- @click="handleUpdate"-->
<!-- v-hasPermi="['csa:contract:edit']"-->
<!-- >修改-->
<!-- </el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- type="danger"-->
<!-- plain-->
<!-- icon="el-icon-delete"-->
<!-- size="mini"-->
<!-- :disabled="multiple"-->
<!-- @click="handleDelete"-->
<!-- v-hasPermi="['csa:contract:remove']"-->
<!-- >删除-->
<!-- </el-button>-->
<!-- </el-col>-->
<el-col :span="1.5">
<el-button
type="warning"
@ -83,13 +107,22 @@
<el-table v-loading="loading" :data="contractList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"/>
<el-table-column label="姓名" align="center" prop="memberName"/>
<el-table-column label="凭据号码" align="center" prop="joinCredentialNo"/>
<el-table-column label="金币数量" align="right" prop="coins" width="150"/>
<el-table-column label="签约人" align="center" prop="contractor"/>
<el-table-column label="合约状态" align="center" prop="status">
<template slot-scope="scope">
<dict-tag :options="dict.type.csa_contract_status" :value="scope.row.status"/>
</template>
</el-table-column>
<el-table-column label="激活方式" align="center" prop="activateWay">
<template slot-scope="scope">
<dict-tag :options="dict.type.csa_activation_way" :value="scope.row.activateWay"/>
</template>
</el-table-column>
<el-table-column label="凭据编号" align="center" prop="joinCredentialNo"/>
<el-table-column label="金币数量" align="right" prop="coins" width="120"/>
<!-- <el-table-column label="账户金额" align="center" prop="balance"/>-->
<el-table-column label="菜品斤数" align="right" prop="weight" width="120"/>
<el-table-column label="拱棚年限" align="center" prop="archedYears"/>
<el-table-column label="激活方式" align="center" prop="activateWay"/>
<el-table-column label="生效日期" align="center" prop="joinDate" width="120">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.joinDate, '{y}-{m}-{d}') }}</span>
@ -101,11 +134,11 @@
</template>
</el-table-column>
<el-table-column label="天数" align="right" prop="days" width="80" />
<el-table-column label="状态" align="center" prop="status"/>
<el-table-column label="备注" align="center" prop="remark"/>
<el-table-column label="备注" align="center" prop="remark" width="200" :show-overflow-tooltip="true" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
:disabled="scope.row.status != '1'"
size="mini"
type="text"
icon="el-icon-edit"
@ -114,6 +147,7 @@
>修改
</el-button>
<el-button
:disabled="scope.row.status != '1'"
size="mini"
type="text"
icon="el-icon-delete"
@ -124,7 +158,6 @@
</template>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"
@ -134,14 +167,27 @@
/>
<!-- 添加或修改会员签约对话框 -->
<el-dialog :title="title" :visible.sync="open" width="650px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="90px">
<el-dialog :title="title" :visible.sync="open" width="560px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="90px" size="small">
<el-row>
<el-col :span="12">
<el-form-item label="姓名" prop="memberName">
<el-input v-model="form.memberName" placeholder="请输入姓名"/>
<el-col :span="24">
<el-form-item label="签约人" prop="contractor">
<el-input v-model="form.contractor" placeholder="签约人"/>
</el-form-item>
</el-col>
<!-- <el-col :span="12">-->
<!-- <el-form-item label="菜地编号" prop="farmerId">-->
<!-- <el-select v-model="form.farmerId" filterable placeholder="签约的菜地编号">-->
<!-- <el-option-->
<!-- v-for="item in this.famers"-->
<!-- :key="item.farmerId"-->
<!-- :label="item.code"-->
<!-- />-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="激活方式" prop="activateWay">
<el-select disabled v-model="form.activateWay" placeholder="请选择激活方式">
@ -153,6 +199,11 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="凭据编号" prop="joinCredentialNo">
<el-input v-model="form.joinCredentialNo" placeholder="合同编号或收据编号"/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
@ -161,7 +212,9 @@
v-model="form.joinDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择生效日期">
placeholder="请选择生效日期"
style="width: 170px;"
>
</el-date-picker>
</el-form-item>
</el-col>
@ -171,26 +224,25 @@
v-model="form.dueDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择到期日期">
placeholder="请选择到期日期"
style="width: 170px;"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="凭据号码" prop="joinCredentialNo">
<el-input v-model="form.joinCredentialNo" placeholder="请输入签约凭据编号,如合同编号、收据编号等"/>
</el-form-item>
<el-row>
<el-col :span="12">
<el-form-item label="金币数量" prop="coins">
<el-input v-model="form.coins" placeholder="请输入金币">
<template slot="append"></template>
<el-input v-model.number="form.coins" placeholder="请输入金币">
<template slot="suffix"></template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="账户金额" prop="balance">
<el-input disabled v-model="form.balance" placeholder="请输入账户金额">
<template slot="append"></template>
<el-input disabled v-model.number="form.balance" placeholder="请输入账户金额">
<template slot="suffix"></template>
</el-input>
</el-form-item>
</el-col>
@ -198,21 +250,21 @@
<el-row>
<el-col :span="12">
<el-form-item label="菜品重量" prop="weight">
<el-input v-model="form.weight" placeholder="请输入菜品重量">
<template slot="append"></template>
<el-input v-model.number="form.weight" placeholder="请输入菜品重量">
<template slot="suffix"></template>
</el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="拱棚年限" prop="archedYears">
<el-input v-model="form.archedYears" placeholder="请输入拱棚年限">
<template slot="append"></template>
<el-input v-model.number="form.archedYears" placeholder="请输入拱棚年限">
<template slot="suffix"></template>
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入备注"/>
<el-input v-model="form.remark" type="textarea" rows="3" placeholder="请输入备注"/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
@ -224,17 +276,21 @@
</template>
<script>
import { listContract, getContract, delContract, addContract, updateContract } from '@/api/csa/contract'
import { listContract, getContract, delContract, addContract, updateContract, auditContract } from '@/api/csa/contract'
import Dict from '../../system/dict/index'
export default {
name: 'Contract',
dicts: ['csa_activation_way'],
components: { Dict },
dicts: ['csa_activation_way', 'csa_contract_status'],
data() {
return {
//
loading: true,
//
ids: [],
//
curRowData: null,
//
single: true,
//
@ -253,17 +309,16 @@
queryParams: {
pageNum: 1,
pageSize: 10,
memberName: null,
contractor: null,
joinDate: null,
dueDate: null,
status: null
},
//
form: {},
//
rules: {
memberName: [
{ required: true, message: '姓名不能为空', trigger: 'blur' }
contractor: [
{ required: true, message: '签约人不能为空', trigger: 'blur' }
],
joinDate: [
{ required: true, message: '生效日期必选', trigger: 'blur' }
@ -271,20 +326,27 @@
dueDate: [
{ required: true, message: '到期日期必选', trigger: 'blur' }
],
joinCredentialNo: [
{ required: true, message: '凭据编号不能为空', trigger: 'blur' }
],
// gardenId: [
// { required: true, message: '', trigger: 'blur' }
// ],
coins: [
{ required: true, message: '金币数量不能为空', trigger: 'blur' }
{ required: true, message: '金币数量不能为空', trigger: 'blur' },
{ type: 'number', message: '金币数量必须为整数', trigger: 'change' }
],
// balance: [
// { required: true, message: '', trigger: 'blur' }
// { required: true, message: '', trigger: 'blur' },
// { type: 'number', message: '', trigger: 'change' }
// ],
weight: [
{ required: true, message: '菜品重量不能为空', trigger: 'blur' }
{ required: true, message: '菜品重量不能为空', trigger: 'blur' },
{ type: 'number', message: '菜品重量必须为整数', trigger: 'change' }
],
archedYears: [
{ required: true, message: '拱棚年限不能为空', trigger: 'blur' }
],
joinCredentialNo: [
{ required: true, message: '凭据号码不能为空', trigger: 'blur' }
{ required: true, message: '拱棚年限不能为空', trigger: 'blur' },
{ type: 'number', message: '拱棚年限必须为整数', trigger: 'change' }
]
}
}
@ -311,8 +373,7 @@
reset() {
this.form = {
contractId: null,
farmerId: null,
memberName: null,
contractor: null,
coins: 0,
balance: 0,
weight: 0,
@ -337,6 +398,7 @@
},
//
handleSelectionChange(selection) {
this.curRowData = (selection.length == 1) ? selection[0] : null;
this.ids = selection.map(item => item.contractId)
this.single = selection.length !== 1
this.multiple = !selection.length
@ -357,6 +419,33 @@
this.title = '修改会员合约'
})
},
/** 审核按钮操作 */
handleAudit(row) {
if (this.curRowData.status != '1') {
this.$modal.alertWarning("只有待定状态的合约才可以审核!");
return;
}
this.$modal.confirm('是否要确定审核此合约', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
// this.curRowData.contractId = 2;
auditContract(this.curRowData.contractId).then( response => {
this.$modal.alertSuccess(
"【" + this.curRowData.contractor +
"】的凭据编号为【" + this.curRowData.joinCredentialNo + "】的合约审核成功!")
this.getList();
}).catch((response) => {
// this.$modal.alertError(response);
// console.log(response)
})
})
},
/** 作废按钮操作 */
handleInvalid(row) {
},
/** 提交按钮 */
submitForm() {
this.$refs['form'].validate(valid => {
@ -380,7 +469,8 @@
/** 删除按钮操作 */
handleDelete(row) {
const contractIds = row.contractId || this.ids
this.$modal.confirm('是否确认删除会员合约编号为"' + contractIds + '"的数据项?').then(function() {
this.$modal.confirm('是否确认删除【' + row.contractor + '】的编号为【' + row.joinCredentialNo + '】的合约?')
.then(function() {
return delContract(contractIds)
}).then(() => {
this.getList()

View File

@ -79,25 +79,24 @@
<el-table v-loading="loading" :data="farmerList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="会员id" align="center" prop="farmerId" />
<el-table-column label="会员姓名" align="center" prop="name" />
<el-table-column label="性别" align="center" prop="gender" />
<el-table-column label="金币余额" align="center" prop="coins" />
<el-table-column label="金币" align="center" prop="coins" />
<el-table-column label="账户余额" align="center" prop="balance" />
<el-table-column label="重量余额" align="center" prop="weight" />
<el-table-column label="拱棚年限余额" align="center" prop="archedYears" />
<el-table-column label="菜品斤数" align="center" prop="weight" />
<el-table-column label="拱棚年" align="center" prop="archedYears" />
<el-table-column label="加入日期" align="center" prop="joinDate" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.joinDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="到期日期" align="center" prop="dueDate" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.dueDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="到期日期" align="center" prop="dueDate" width="180">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ parseTime(scope.row.dueDate, '{y}-{m}-{d}') }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="是否过期" align="center" prop="isExpire" />
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="备注" align="center" prop="remark" :show-tooltip-when-overflow="true" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
@ -117,7 +116,7 @@
</template>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"

View File

@ -11,7 +11,7 @@
Target Server Version : 50731
File Encoding : 65001
Date: 01/04/2022 22:43:06
Date: 05/04/2022 00:51:48
*/
SET NAMES utf8mb4;
@ -181,8 +181,8 @@ CREATE TABLE `csa_crop_phase` (
-- ----------------------------
-- Records of csa_crop_phase
-- ----------------------------
INSERT INTO `csa_crop_phase` VALUES (0, 0, '', '', '', '0', '0', NULL, NULL, NULL, NULL, '');
INSERT INTO `csa_crop_phase` VALUES (1, 0, '', '', '', '0', '0', NULL, NULL, NULL, NULL, '');
INSERT INTO `csa_crop_phase` VALUES (0, 0, '', '', '', '0', '0', NULL, NULL, NULL, NULL, '');
INSERT INTO `csa_crop_phase` VALUES (1, 0, '', '', '', '0', '0', NULL, NULL, NULL, NULL, '');
INSERT INTO `csa_crop_phase` VALUES (2, 0, '幼苗', NULL, NULL, '0', '0', '', NULL, '', NULL, NULL);
INSERT INTO `csa_crop_phase` VALUES (3, 0, '成长', NULL, NULL, '0', '0', '', NULL, '', NULL, NULL);
INSERT INTO `csa_crop_phase` VALUES (4, 0, '成熟', NULL, NULL, '0', '0', '', NULL, '', NULL, NULL);
@ -286,11 +286,13 @@ CREATE TABLE `csa_farmer` (
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`farmer_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '私家农场会员' ROW_FORMAT = Dynamic;
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '私家农场会员' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of csa_farmer
-- ----------------------------
INSERT INTO `csa_farmer` VALUES (1, '待绑定', NULL, 20000.0000, 0.0000, 0.0000, 0, '2021-05-01', NULL, 'N', '0', '0', '', '2022-04-05 00:49:11', '', NULL, NULL);
INSERT INTO `csa_farmer` VALUES (2, '待绑定', NULL, 15000.0000, 0.0000, 60.0000, 2, '2021-04-05', NULL, 'N', '0', '0', '', '2022-04-05 00:49:34', '', NULL, NULL);
-- ----------------------------
-- Table structure for csa_farmer_contract
@ -299,29 +301,32 @@ DROP TABLE IF EXISTS `csa_farmer_contract`;
CREATE TABLE `csa_farmer_contract` (
`contract_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '合约id',
`farmer_id` int(11) NULL DEFAULT NULL COMMENT '会员id',
`member_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '会员姓名',
`contractor` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '签约人',
`coins` decimal(19, 4) NOT NULL DEFAULT 0.0000 COMMENT '合约金币',
`balance` decimal(19, 4) NOT NULL DEFAULT 0.0000 COMMENT '合约账户金额',
`weight` decimal(19, 4) NOT NULL DEFAULT 0.0000 COMMENT '合约重量',
`arched_years` int(11) NOT NULL DEFAULT 0 COMMENT '合约拱棚年限',
`activate_mode` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '激活方式',
`activate_way` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '激活方式',
`join_credential_no` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '加入凭据号码',
`join_date` date NULL DEFAULT NULL COMMENT '加入日期',
`join_date` date NULL DEFAULT NULL COMMENT '生效日期',
`due_date` date NULL DEFAULT NULL COMMENT '到期日期',
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '状态0正常 1停用',
`days` int(11) NOT NULL COMMENT '天数',
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '状态0正常 1待审 2作废',
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标志0代表存在 2代表删除',
`create_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者',
`create_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`update_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者',
`update_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者',
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`contract_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '会员合约' ROW_FORMAT = Dynamic;
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '会员合约' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of csa_farmer_contract
-- ----------------------------
INSERT INTO `csa_farmer_contract` VALUES (1, NULL, '李开园', 10000.0000, 0.0000, 0.0000, 0, '协议', 'No.008', '2022-03-01', '2022-05-01', '0', '0', '', '2022-04-01 22:29:42', '', NULL, NULL);
INSERT INTO `csa_farmer_contract` VALUES (101, NULL, '王丽美', 10000.0000, 0.0000, 0.0000, 0, 'QY', 'No.008', '2022-03-01', '2022-05-01', 62, '2', '0', 'admin', '2022-04-01 22:29:42', 'admin', '2022-04-04 14:54:20', NULL);
INSERT INTO `csa_farmer_contract` VALUES (102, 2, '程开州', 15000.0000, 0.0000, 60.0000, 2, 'QY', 'No.002', '2021-04-05', '2022-04-04', 365, '0', '0', 'admin', '2022-04-04 00:42:06', 'admin', '2022-04-05 00:49:34', '一个重要的客户介绍,非常喜欢我们的农场,订嘱每次到期前都要提醒约续。');
INSERT INTO `csa_farmer_contract` VALUES (103, 1, '范诚诚', 20000.0000, 0.0000, 0.0000, 0, 'QY', 'No.003', '2021-05-01', '2022-04-30', 365, '0', '0', 'admin', '2022-04-04 14:30:01', 'admin', '2022-04-05 00:49:11', NULL);
-- ----------------------------
-- Table structure for csa_garden
@ -1124,11 +1129,11 @@ CREATE TABLE `sys_config` (
-- ----------------------------
-- Records of sys_config
-- ----------------------------
INSERT INTO `sys_config` VALUES (1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 'admin', '2022-03-20 21:45:30', '', NULL, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO `sys_config` VALUES (1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-green', 'Y', 'admin', '2022-03-20 21:45:30', 'admin', '2022-04-02 21:36:49', '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO `sys_config` VALUES (2, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', '2022-03-20 21:45:30', '', NULL, '初始化密码 123456');
INSERT INTO `sys_config` VALUES (3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 'admin', '2022-03-20 21:45:30', '', NULL, '深色主题theme-dark浅色主题theme-light');
INSERT INTO `sys_config` VALUES (4, '账号自助-验证码开关', 'sys.account.captchaOnOff', 'true', 'Y', 'admin', '2022-03-20 21:45:30', '', NULL, '是否开启验证码功能true开启false关闭');
INSERT INTO `sys_config` VALUES (5, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', '2022-03-20 21:45:30', '', NULL, '是否开启注册用户功能true开启false关闭');
INSERT INTO `sys_config` VALUES (3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'N', 'admin', '2022-03-20 21:45:30', 'admin', '2022-04-02 21:35:57', '深色主题theme-dark浅色主题theme-light');
INSERT INTO `sys_config` VALUES (4, '账号自助-验证码开关', 'sys.account.captchaOnOff', 'true', 'N', 'admin', '2022-03-20 21:45:30', 'admin', '2022-04-02 21:35:27', '是否开启验证码功能true开启false关闭');
INSERT INTO `sys_config` VALUES (5, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'N', 'admin', '2022-03-20 21:45:30', 'admin', '2022-04-02 21:35:43', '是否开启注册用户功能true开启false关闭');
-- ----------------------------
-- Table structure for sys_dept
@ -1186,7 +1191,7 @@ CREATE TABLE `sys_dict_data` (
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`dict_code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 103 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典数据表' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 108 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典数据表' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of sys_dict_data
@ -1222,6 +1227,11 @@ INSERT INTO `sys_dict_data` VALUES (28, 2, '失败', '1', 'sys_common_status', '
INSERT INTO `sys_dict_data` VALUES (100, 10, '菜地', '0', 'csa_zone_type', NULL, 'success', 'N', '0', 'admin', '2022-03-28 21:20:30', 'admin', '2022-03-28 21:22:48', NULL);
INSERT INTO `sys_dict_data` VALUES (101, 20, '果园', '1', 'csa_zone_type', NULL, 'danger', 'N', '0', 'admin', '2022-03-28 21:21:12', 'admin', '2022-03-28 21:23:00', NULL);
INSERT INTO `sys_dict_data` VALUES (102, 30, '禽舍', '2', 'csa_zone_type', NULL, 'primary', 'N', '0', 'admin', '2022-03-28 21:22:35', 'admin', '2022-03-28 21:23:17', NULL);
INSERT INTO `sys_dict_data` VALUES (103, 10, '签约入驻', 'QY', 'csa_activation_way', NULL, 'default', 'N', '0', 'admin', '2022-04-03 22:22:02', 'admin', '2022-04-03 22:22:41', NULL);
INSERT INTO `sys_dict_data` VALUES (104, 20, '卡密激活', 'KM', 'csa_activation_way', NULL, 'default', 'N', '1', 'admin', '2022-04-03 22:22:27', 'admin', '2022-04-03 22:22:38', NULL);
INSERT INTO `sys_dict_data` VALUES (105, 0, '正常', '0', 'csa_contract_status', NULL, 'success', 'N', '0', 'admin', '2022-04-04 14:34:02', 'admin', '2022-04-04 14:35:59', NULL);
INSERT INTO `sys_dict_data` VALUES (106, 0, '待定', '1', 'csa_contract_status', NULL, 'danger', 'N', '0', 'admin', '2022-04-04 14:34:29', 'admin', '2022-04-04 15:34:17', NULL);
INSERT INTO `sys_dict_data` VALUES (107, 0, '作废', '2', 'csa_contract_status', NULL, 'info', 'N', '0', 'admin', '2022-04-04 14:34:41', 'admin', '2022-04-04 15:25:52', NULL);
-- ----------------------------
-- Table structure for sys_dict_type
@ -1239,7 +1249,7 @@ CREATE TABLE `sys_dict_type` (
`remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`dict_id`) USING BTREE,
UNIQUE INDEX `dict_type`(`dict_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典类型表' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 103 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典类型表' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of sys_dict_type
@ -1255,6 +1265,8 @@ INSERT INTO `sys_dict_type` VALUES (8, '通知状态', 'sys_notice_status', '0',
INSERT INTO `sys_dict_type` VALUES (9, '操作类型', 'sys_oper_type', '0', 'admin', '2022-03-20 21:45:29', '', NULL, '操作类型列表');
INSERT INTO `sys_dict_type` VALUES (10, '系统状态', 'sys_common_status', '0', 'admin', '2022-03-20 21:45:29', '', NULL, '登录状态列表');
INSERT INTO `sys_dict_type` VALUES (100, '农场分区类型', 'csa_zone_type', '0', 'admin', '2022-03-28 21:18:20', '', NULL, '农场区域的用途类型');
INSERT INTO `sys_dict_type` VALUES (101, '会员激活方式', 'csa_activation_way', '0', 'admin', '2022-04-03 22:19:14', 'admin', '2022-04-04 14:22:55', '会员激活的方式,签约入驻、卡密激活');
INSERT INTO `sys_dict_type` VALUES (102, '合约状态', 'csa_contract_status', '0', 'admin', '2022-04-04 14:22:46', '', NULL, '农场合约状态,正常、待审核、作废');
-- ----------------------------
-- Table structure for sys_job
@ -1324,7 +1336,7 @@ CREATE TABLE `sys_logininfor` (
`msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '提示消息',
`login_time` datetime NULL DEFAULT NULL COMMENT '访问时间',
PRIMARY KEY (`info_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 178 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统访问记录' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 211 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统访问记录' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of sys_logininfor
@ -1407,6 +1419,39 @@ INSERT INTO `sys_logininfor` VALUES (174, 'admin', '127.0.0.1', '内网IP', 'Chr
INSERT INTO `sys_logininfor` VALUES (175, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-03-31 20:34:10');
INSERT INTO `sys_logininfor` VALUES (176, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-01 20:46:08');
INSERT INTO `sys_logininfor` VALUES (177, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-01 21:35:00');
INSERT INTO `sys_logininfor` VALUES (178, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '1', '验证码已失效', '2022-04-02 19:47:50');
INSERT INTO `sys_logininfor` VALUES (179, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-02 19:47:52');
INSERT INTO `sys_logininfor` VALUES (180, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-02 20:56:27');
INSERT INTO `sys_logininfor` VALUES (181, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '退出成功', '2022-04-02 21:02:44');
INSERT INTO `sys_logininfor` VALUES (182, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-02 21:02:53');
INSERT INTO `sys_logininfor` VALUES (183, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '退出成功', '2022-04-02 21:03:28');
INSERT INTO `sys_logininfor` VALUES (184, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-02 21:03:36');
INSERT INTO `sys_logininfor` VALUES (185, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '退出成功', '2022-04-02 21:03:43');
INSERT INTO `sys_logininfor` VALUES (186, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '1', '验证码错误', '2022-04-02 21:03:45');
INSERT INTO `sys_logininfor` VALUES (187, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-02 21:03:49');
INSERT INTO `sys_logininfor` VALUES (188, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '退出成功', '2022-04-02 21:36:53');
INSERT INTO `sys_logininfor` VALUES (189, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-02 21:36:59');
INSERT INTO `sys_logininfor` VALUES (190, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-03 08:47:42');
INSERT INTO `sys_logininfor` VALUES (191, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '退出成功', '2022-04-03 08:47:54');
INSERT INTO `sys_logininfor` VALUES (192, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-03 09:05:38');
INSERT INTO `sys_logininfor` VALUES (193, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '退出成功', '2022-04-03 09:05:54');
INSERT INTO `sys_logininfor` VALUES (194, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-03 09:35:34');
INSERT INTO `sys_logininfor` VALUES (195, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-03 13:31:45');
INSERT INTO `sys_logininfor` VALUES (196, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '1', '验证码已失效', '2022-04-03 16:37:04');
INSERT INTO `sys_logininfor` VALUES (197, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-03 16:37:11');
INSERT INTO `sys_logininfor` VALUES (198, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '退出成功', '2022-04-03 16:41:02');
INSERT INTO `sys_logininfor` VALUES (199, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-03 16:41:05');
INSERT INTO `sys_logininfor` VALUES (200, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-03 16:44:23');
INSERT INTO `sys_logininfor` VALUES (201, 'admin', '127.0.0.1', '内网IP', 'Firefox 9', 'Windows 10', '0', '登录成功', '2022-04-03 17:40:03');
INSERT INTO `sys_logininfor` VALUES (202, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-03 22:08:03');
INSERT INTO `sys_logininfor` VALUES (203, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-04 00:37:38');
INSERT INTO `sys_logininfor` VALUES (204, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-04 12:16:38');
INSERT INTO `sys_logininfor` VALUES (205, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-04 14:02:30');
INSERT INTO `sys_logininfor` VALUES (206, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-04 16:44:28');
INSERT INTO `sys_logininfor` VALUES (207, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '退出成功', '2022-04-04 18:03:18');
INSERT INTO `sys_logininfor` VALUES (208, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-04 18:03:24');
INSERT INTO `sys_logininfor` VALUES (209, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-04 21:27:32');
INSERT INTO `sys_logininfor` VALUES (210, 'admin', '127.0.0.1', '内网IP', 'Chrome 9', 'Windows 10', '0', '登录成功', '2022-04-04 23:42:50');
-- ----------------------------
-- Table structure for sys_menu
@ -1521,8 +1566,8 @@ INSERT INTO `sys_menu` VALUES (1057, '生成删除', 115, 3, '#', '', '', 1, 0,
INSERT INTO `sys_menu` VALUES (1058, '导入代码', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:import', '#', 'admin', '2022-03-20 21:45:26', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1059, '预览代码', 115, 4, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:preview', '#', 'admin', '2022-03-20 21:45:26', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1060, '生成代码', 115, 5, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:code', '#', 'admin', '2022-03-20 21:45:26', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2000, '客户关系', 0, 800, 'crm', NULL, NULL, 1, 0, 'M', '0', '0', '', 'peoples', 'admin', '2022-03-20 22:54:29', 'admin', '2022-03-24 19:23:38', '');
INSERT INTO `sys_menu` VALUES (2001, '访客管理', 2000, 10, 'visitor', 'crm/visitor/index', NULL, 1, 0, 'C', '0', '0', 'crm:visitor:list', 'logininfor', 'admin', '2022-03-20 22:59:06', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2000, '客户关系', 0, 800, 'test', NULL, NULL, 1, 0, 'M', '0', '0', '', 'peoples', 'admin', '2022-03-20 22:54:29', 'admin', '2022-04-02 21:39:01', '');
INSERT INTO `sys_menu` VALUES (2001, '访客管理', 2000, 10, '~/test', 'crm/visitor/index', NULL, 1, 0, 'C', '0', '0', 'crm:visitor:list', 'logininfor', 'admin', '2022-03-20 22:59:06', 'admin', '2022-04-02 22:23:58', '');
INSERT INTO `sys_menu` VALUES (2002, '农场规划', 0, 100, 'partition', NULL, NULL, 1, 0, 'M', '0', '0', NULL, 'cascader', 'admin', '2022-03-24 19:25:15', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2003, '农场分区', 2002, 10, 'farmzone', 'csa/farmzone/index', NULL, 1, 0, 'C', '0', '0', 'csa:farmzone:list', 'tab', 'admin', '2022-03-24 19:34:52', 'admin', '2022-03-29 17:15:27', '农场分区菜单');
INSERT INTO `sys_menu` VALUES (2004, '农场分区查询', 2003, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'csa:farmzone:query', '#', 'admin', '2022-03-24 19:34:52', 'admin', '2022-03-27 20:53:25', '');
@ -1532,7 +1577,7 @@ INSERT INTO `sys_menu` VALUES (2009, '菜地划分', 2002, 20, 'garden', 'csa/ga
INSERT INTO `sys_menu` VALUES (2010, '菜地查询', 2009, 10, '#', '', NULL, 1, 0, 'F', '0', '0', 'csa:garden:query', '#', 'admin', '2022-03-24 22:30:32', 'admin', '2022-03-29 17:15:05', '');
INSERT INTO `sys_menu` VALUES (2011, '菜地划分', 2009, 20, '#', '', NULL, 1, 0, 'F', '0', '0', 'csa:garden:update', '#', 'admin', '2022-03-24 22:30:32', 'admin', '2022-03-29 18:39:21', '');
INSERT INTO `sys_menu` VALUES (2014, '菜地导出', 2009, 30, '#', '', NULL, 1, 0, 'F', '0', '0', 'csa:garden:export', '#', 'admin', '2022-03-24 22:30:33', 'admin', '2022-03-29 17:16:36', '');
INSERT INTO `sys_menu` VALUES (2015, '作物档案', 2002, 30, 'cropfile', 'csa/cropfile/index', NULL, 1, 0, 'C', '0', '0', 'csa:cropfile:query', 'documentation', 'admin', '2022-03-25 22:25:59', 'admin', '2022-03-30 22:31:10', '作物档案菜单');
INSERT INTO `sys_menu` VALUES (2015, '作物档案', 2002, 30, 'cropfile', 'csa/cropfile/index', NULL, 1, 0, 'C', '0', '0', 'csa:cropfile:query', 'documentation', 'admin', '2022-03-25 22:25:59', 'admin', '2022-04-02 19:51:31', '作物档案菜单');
INSERT INTO `sys_menu` VALUES (2016, '作物档案查询', 2015, 10, '#', '', NULL, 1, 0, 'F', '0', '0', 'csa:cropfile:query', '#', 'admin', '2022-03-25 22:25:59', 'admin', '2022-03-30 22:30:33', '');
INSERT INTO `sys_menu` VALUES (2017, '作物档案更新', 2015, 20, '#', '', NULL, 1, 0, 'F', '0', '0', 'csa:cropfile:update', '#', 'admin', '2022-03-25 22:25:59', 'admin', '2022-03-30 22:32:35', '');
INSERT INTO `sys_menu` VALUES (2020, '作物档案导出', 2015, 30, '#', '', NULL, 1, 0, 'F', '0', '0', 'csa:cropfile:export', '#', 'admin', '2022-03-25 22:25:59', 'admin', '2022-03-30 22:31:55', '');
@ -1658,7 +1703,7 @@ CREATE TABLE `sys_oper_log` (
`error_msg` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '错误消息',
`oper_time` datetime NULL DEFAULT NULL COMMENT '操作时间',
PRIMARY KEY (`oper_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 505 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '操作日志记录' ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 649 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '操作日志记录' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of sys_oper_log
@ -2068,6 +2113,150 @@ INSERT INTO `sys_oper_log` VALUES (501, '菜单管理', 2, 'com.ruoyi.web.contro
INSERT INTO `sys_oper_log` VALUES (502, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"peoples\",\"orderNum\":200,\"menuName\":\"会员服务\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"member\",\"children\":[],\"createTime\":1648219423000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2021,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-01 22:04:33');
INSERT INTO `sys_oper_log` VALUES (503, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"phone\",\"orderNum\":45,\"menuName\":\"沟通记录\",\"params\":{},\"parentId\":2021,\"isCache\":\"0\",\"path\":\"commrecord\",\"component\":\"csa/commrecord/index\",\"children\":[],\"createTime\":1648377819000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2071,\"menuType\":\"C\",\"perms\":\"csa:commrecord:list\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-01 22:05:30');
INSERT INTO `sys_oper_log` VALUES (504, '会员签约', 1, 'com.jlt.csa.controller.FarmerContractController.add()', 'POST', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"joinCredentialNo\":\"No.008\",\"coins\":10000,\"dueDate\":1651334400000,\"memberName\":\"李开园\",\"weight\":0,\"params\":{},\"activateMode\":\"协议\",\"joinDate\":1646064000000,\"balance\":0,\"createTime\":1648823382071,\"contractId\":1,\"archedYears\":0}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-01 22:29:42');
INSERT INTO `sys_oper_log` VALUES (505, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"documentation\",\"orderNum\":30,\"menuName\":\"作物档案\",\"params\":{},\"parentId\":2002,\"isCache\":\"0\",\"path\":\"cropfile\",\"component\":\"csa/cropfile/index\",\"children\":[],\"createTime\":1648218359000,\"isFrame\":\"0\",\"menuId\":2015,\"menuType\":\"C\",\"perms\":\"csa:cropfile:query\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 19:49:38');
INSERT INTO `sys_oper_log` VALUES (506, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"documentation\",\"orderNum\":30,\"menuName\":\"作物档案\",\"params\":{},\"parentId\":2002,\"isCache\":\"0\",\"path\":\"cropfile\",\"component\":\"csa/cropfile/index\",\"children\":[],\"createTime\":1648218359000,\"isFrame\":\"0\",\"menuId\":2015,\"menuType\":\"C\",\"perms\":\"csa:cropfile:query\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 19:49:46');
INSERT INTO `sys_oper_log` VALUES (507, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"documentation\",\"orderNum\":30,\"menuName\":\"作物档案\",\"params\":{},\"parentId\":2002,\"isCache\":\"0\",\"path\":\"cropfile\",\"component\":\"csa/cropfile/index\",\"children\":[],\"createTime\":1648218359000,\"isFrame\":\"0\",\"menuId\":2015,\"menuType\":\"C\",\"perms\":\"csa:cropfile:query\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 19:49:50');
INSERT INTO `sys_oper_log` VALUES (508, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"documentation\",\"orderNum\":30,\"menuName\":\"作物档案\",\"params\":{},\"parentId\":2002,\"isCache\":\"0\",\"path\":\"http://localhost:81/partition/cropfile\",\"component\":\"csa/cropfile/index\",\"children\":[],\"createTime\":1648218359000,\"updateBy\":\"admin\",\"isFrame\":\"0\",\"menuId\":2015,\"menuType\":\"C\",\"perms\":\"csa:cropfile:query\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 19:50:54');
INSERT INTO `sys_oper_log` VALUES (509, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"documentation\",\"orderNum\":30,\"menuName\":\"作物档案\",\"params\":{},\"parentId\":2002,\"isCache\":\"0\",\"path\":\"cropfile\",\"component\":\"csa/cropfile/index\",\"children\":[],\"createTime\":1648218359000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2015,\"menuType\":\"C\",\"perms\":\"csa:cropfile:query\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 19:51:31');
INSERT INTO `sys_oper_log` VALUES (510, '参数管理', 2, 'com.ruoyi.web.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', NULL, '/system/config', '127.0.0.1', '内网IP', '{\"configName\":\"账号自助-验证码开关\",\"configKey\":\"sys.account.captchaOnOff\",\"createBy\":\"admin\",\"createTime\":1647783930000,\"updateBy\":\"admin\",\"configId\":4,\"remark\":\"是否开启验证码功能true开启false关闭\",\"configType\":\"N\",\"configValue\":\"true\",\"params\":{}}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 21:35:27');
INSERT INTO `sys_oper_log` VALUES (511, '参数管理', 2, 'com.ruoyi.web.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', NULL, '/system/config', '127.0.0.1', '内网IP', '{\"configName\":\"账号自助-是否开启用户注册功能\",\"configKey\":\"sys.account.registerUser\",\"createBy\":\"admin\",\"createTime\":1647783930000,\"updateBy\":\"admin\",\"configId\":5,\"remark\":\"是否开启注册用户功能true开启false关闭\",\"configType\":\"N\",\"configValue\":\"false\",\"params\":{}}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 21:35:43');
INSERT INTO `sys_oper_log` VALUES (512, '参数管理', 2, 'com.ruoyi.web.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', NULL, '/system/config', '127.0.0.1', '内网IP', '{\"configName\":\"主框架页-侧边栏主题\",\"configKey\":\"sys.index.sideTheme\",\"createBy\":\"admin\",\"createTime\":1647783930000,\"updateBy\":\"admin\",\"configId\":3,\"remark\":\"深色主题theme-dark浅色主题theme-light\",\"configType\":\"N\",\"configValue\":\"theme-dark\",\"params\":{}}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 21:35:57');
INSERT INTO `sys_oper_log` VALUES (513, '参数管理', 2, 'com.ruoyi.web.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', NULL, '/system/config', '127.0.0.1', '内网IP', '{\"configName\":\"主框架页-默认皮肤样式名称\",\"configKey\":\"sys.index.skinName\",\"createBy\":\"admin\",\"createTime\":1647783930000,\"updateBy\":\"admin\",\"configId\":1,\"remark\":\"蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow\",\"configType\":\"Y\",\"configValue\":\"skin-purpl\",\"params\":{}}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 21:36:29');
INSERT INTO `sys_oper_log` VALUES (514, '参数管理', 2, 'com.ruoyi.web.controller.system.SysConfigController.edit()', 'PUT', 1, 'admin', NULL, '/system/config', '127.0.0.1', '内网IP', '{\"configName\":\"主框架页-默认皮肤样式名称\",\"configKey\":\"sys.index.skinName\",\"createBy\":\"admin\",\"createTime\":1647783930000,\"updateBy\":\"admin\",\"configId\":1,\"remark\":\"蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow\",\"updateTime\":1648906588000,\"configType\":\"Y\",\"configValue\":\"skin-green\",\"params\":{}}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 21:36:49');
INSERT INTO `sys_oper_log` VALUES (515, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"test\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 21:38:31');
INSERT INTO `sys_oper_log` VALUES (516, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"peoples\",\"orderNum\":800,\"menuName\":\"客户关系\",\"params\":{},\"parentId\":0,\"isCache\":\"0\",\"path\":\"test\",\"children\":[],\"createTime\":1647788069000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2000,\"menuType\":\"M\",\"perms\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 21:39:01');
INSERT INTO `sys_oper_log` VALUES (517, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 21:39:30');
INSERT INTO `sys_oper_log` VALUES (518, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 21:40:25');
INSERT INTO `sys_oper_log` VALUES (519, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 21:40:30');
INSERT INTO `sys_oper_log` VALUES (520, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 21:40:32');
INSERT INTO `sys_oper_log` VALUES (521, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 21:40:33');
INSERT INTO `sys_oper_log` VALUES (522, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 21:40:35');
INSERT INTO `sys_oper_log` VALUES (523, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 21:40:37');
INSERT INTO `sys_oper_log` VALUES (524, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"http://\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"updateBy\":\"admin\",\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 21:40:53');
INSERT INTO `sys_oper_log` VALUES (525, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 21:42:23');
INSERT INTO `sys_oper_log` VALUES (526, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 21:49:11');
INSERT INTO `sys_oper_log` VALUES (527, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 21:49:14');
INSERT INTO `sys_oper_log` VALUES (528, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 21:52:13');
INSERT INTO `sys_oper_log` VALUES (529, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/test\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 22:01:17');
INSERT INTO `sys_oper_log` VALUES (530, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/test\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 22:01:19');
INSERT INTO `sys_oper_log` VALUES (531, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/test\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 22:01:51');
INSERT INTO `sys_oper_log` VALUES (532, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/test\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 22:01:52');
INSERT INTO `sys_oper_log` VALUES (533, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/test\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 22:01:54');
INSERT INTO `sys_oper_log` VALUES (534, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/test\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 22:02:17');
INSERT INTO `sys_oper_log` VALUES (535, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"isFrame\":\"0\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"修改菜单\'访\'失败地址必须以http(s)://开头\",\"code\":500}', 0, NULL, '2022-04-02 22:18:28');
INSERT INTO `sys_oper_log` VALUES (536, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"/\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 22:18:34');
INSERT INTO `sys_oper_log` VALUES (537, '菜单管理', 2, 'com.ruoyi.web.controller.system.SysMenuController.edit()', 'PUT', 1, 'admin', NULL, '/system/menu', '127.0.0.1', '内网IP', '{\"visible\":\"0\",\"icon\":\"logininfor\",\"orderNum\":10,\"menuName\":\"访客管理\",\"params\":{},\"parentId\":2000,\"isCache\":\"0\",\"path\":\"~test\",\"component\":\"crm/visitor/index\",\"children\":[],\"createTime\":1647788346000,\"updateBy\":\"admin\",\"isFrame\":\"1\",\"menuId\":2001,\"menuType\":\"C\",\"perms\":\"crm:visitor:list\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-02 22:23:58');
INSERT INTO `sys_oper_log` VALUES (538, '字典类型', 1, 'com.ruoyi.web.controller.system.SysDictTypeController.add()', 'POST', 1, 'admin', NULL, '/system/dict/type', '127.0.0.1', '内网IP', '{\"createBy\":\"admin\",\"dictName\":\"会员激活方式\",\"params\":{},\"dictType\":\"csa_activation_way\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-03 22:19:14');
INSERT INTO `sys_oper_log` VALUES (539, '字典类型', 2, 'com.ruoyi.web.controller.system.SysDictTypeController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/type', '127.0.0.1', '内网IP', '{\"createBy\":\"admin\",\"createTime\":1648995554000,\"updateBy\":\"admin\",\"dictName\":\"会员激活方式\",\"remark\":\"会员激活的方式,分签约入驻和卡密激活。\",\"dictId\":101,\"params\":{},\"dictType\":\"csa_activation_way\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-03 22:20:33');
INSERT INTO `sys_oper_log` VALUES (540, '字典数据', 1, 'com.ruoyi.web.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"QY\",\"listClass\":\"default\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_activation_way\",\"dictLabel\":\"签约入驻\",\"createBy\":\"admin\",\"default\":false,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-03 22:22:02');
INSERT INTO `sys_oper_log` VALUES (541, '字典数据', 1, 'com.ruoyi.web.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"KM\",\"listClass\":\"default\",\"dictSort\":10,\"params\":{},\"dictType\":\"csa_activation_way\",\"dictLabel\":\"卡密激活\",\"createBy\":\"admin\",\"default\":false,\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-03 22:22:27');
INSERT INTO `sys_oper_log` VALUES (542, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"KM\",\"listClass\":\"default\",\"dictSort\":20,\"params\":{},\"dictType\":\"csa_activation_way\",\"dictLabel\":\"卡密激活\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1648995747000,\"dictCode\":104,\"updateBy\":\"admin\",\"status\":\"1\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-03 22:22:38');
INSERT INTO `sys_oper_log` VALUES (543, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"QY\",\"listClass\":\"default\",\"dictSort\":10,\"params\":{},\"dictType\":\"csa_activation_way\",\"dictLabel\":\"签约入驻\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1648995722000,\"dictCode\":103,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-03 22:22:41');
INSERT INTO `sys_oper_log` VALUES (544, '会员签约', 1, 'com.jlt.csa.controller.FarmerContractController.add()', 'POST', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"joinCredentialNo\":\"No.002\",\"coins\":5000,\"dueDate\":1649001600000,\"memberName\":\"王麻子\",\"weight\":50,\"remark\":\"张总介绍\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1617552000000,\"balance\":0,\"createTime\":1649003930959,\"days\":365,\"archedYears\":1}', NULL, 1, '\r\n### Error updating database. Cause: java.sql.SQLException: Field \'activate_way\' doesn\'t have a default value\r\n### The error may exist in file [D:\\Projects\\私家农场\\Private-Farm\\private-farm\\target\\classes\\mapper\\csa\\FarmerContractMapper.xml]\r\n### The error may involve com.jlt.csa.mapper.FarmerContractMapper.insertFarmerContract-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into csa_farmer_contract ( member_name, coins, balance, weight, arched_years, join_credential_no, join_date, due_date, days, create_by, create_time, remark ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLException: Field \'activate_way\' doesn\'t have a default value\n; Field \'activate_way\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'activate_way\' doesn\'t have a default value', '2022-04-04 00:38:51');
INSERT INTO `sys_oper_log` VALUES (545, '会员签约', 1, 'com.jlt.csa.controller.FarmerContractController.add()', 'POST', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"joinCredentialNo\":\"No.002\",\"coins\":5000,\"dueDate\":1649001600000,\"memberName\":\"王麻子\",\"weight\":50,\"remark\":\"张总介绍\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1617552000000,\"balance\":0,\"createTime\":1649004040104,\"days\":365,\"archedYears\":1}', NULL, 1, '\r\n### Error updating database. Cause: java.sql.SQLException: Field \'activate_way\' doesn\'t have a default value\r\n### The error may exist in file [D:\\Projects\\私家农场\\Private-Farm\\private-farm\\target\\classes\\mapper\\csa\\FarmerContractMapper.xml]\r\n### The error may involve com.jlt.csa.mapper.FarmerContractMapper.insertFarmerContract-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into csa_farmer_contract ( member_name, coins, balance, weight, arched_years, join_credential_no, join_date, due_date, days, create_by, create_time, remark ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLException: Field \'activate_way\' doesn\'t have a default value\n; Field \'activate_way\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'activate_way\' doesn\'t have a default value', '2022-04-04 00:40:40');
INSERT INTO `sys_oper_log` VALUES (546, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"joinCredentialNo\":\"No.008\",\"coins\":10000,\"dueDate\":1651334400000,\"memberName\":\"李开园\",\"weight\":0,\"updateTime\":1649004059168,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"\",\"joinDate\":1646064000000,\"balance\":0,\"createTime\":1648823382000,\"updateBy\":\"admin\",\"contractId\":1,\"days\":62,\"archedYears\":0,\"activateWay\":\"\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 00:40:59');
INSERT INTO `sys_oper_log` VALUES (547, '会员签约', 1, 'com.jlt.csa.controller.FarmerContractController.add()', 'POST', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"joinCredentialNo\":\"No.002\",\"coins\":5000,\"dueDate\":1649001600000,\"memberName\":\"王莹\",\"weight\":50,\"remark\":\"张总的朋友\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1617552000000,\"balance\":0,\"createTime\":1649004125733,\"contractId\":2,\"days\":365,\"archedYears\":1,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 00:42:05');
INSERT INTO `sys_oper_log` VALUES (548, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"joinCredentialNo\":\"No.002\",\"coins\":15000,\"dueDate\":1649001600000,\"memberName\":\"王莹\",\"weight\":60,\"remark\":\"张总的朋友\",\"updateTime\":1649004826895,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1617552000000,\"balance\":0,\"createTime\":1649004126000,\"updateBy\":\"admin\",\"contractId\":2,\"days\":365,\"archedYears\":2,\"activateWay\":\"QY\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 00:53:46');
INSERT INTO `sys_oper_log` VALUES (549, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"joinCredentialNo\":\"No.002\",\"coins\":15000,\"dueDate\":1649001600000,\"memberName\":\"王莹\",\"weight\":60,\"remark\":\"朋友介绍\",\"updateTime\":1649045897118,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1617552000000,\"balance\":0,\"createTime\":1649004126000,\"updateBy\":\"admin\",\"contractId\":2,\"days\":365,\"archedYears\":2,\"activateWay\":\"QY\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 12:18:17');
INSERT INTO `sys_oper_log` VALUES (550, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"joinCredentialNo\":\"No.002\",\"coins\":15000,\"dueDate\":1649001600000,\"memberName\":\"王莹\",\"weight\":60,\"remark\":\"朋友介绍\",\"updateTime\":1649047195538,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1617552000000,\"balance\":0,\"createTime\":1649004126000,\"updateBy\":\"admin\",\"contractId\":2,\"days\":365,\"archedYears\":2,\"activateWay\":\"QY\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 12:39:55');
INSERT INTO `sys_oper_log` VALUES (551, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"joinCredentialNo\":\"No.002\",\"coins\":15000,\"dueDate\":1649001600000,\"memberName\":\"王莹\",\"weight\":60,\"remark\":\"朋友介绍\",\"updateTime\":1649048294529,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1617552000000,\"balance\":0,\"createTime\":1649004126000,\"updateBy\":\"admin\",\"contractId\":2,\"days\":365,\"archedYears\":2,\"activateWay\":\"QY\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 12:58:14');
INSERT INTO `sys_oper_log` VALUES (552, '字典类型', 1, 'com.ruoyi.web.controller.system.SysDictTypeController.add()', 'POST', 1, 'admin', NULL, '/system/dict/type', '127.0.0.1', '内网IP', '{\"createBy\":\"admin\",\"dictName\":\"合约状态\",\"remark\":\"农场合约状态,正常、待审核、作废\",\"params\":{},\"dictType\":\"csa_contract_status\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:22:46');
INSERT INTO `sys_oper_log` VALUES (553, '字典类型', 2, 'com.ruoyi.web.controller.system.SysDictTypeController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/type', '127.0.0.1', '内网IP', '{\"createBy\":\"admin\",\"createTime\":1648995554000,\"updateBy\":\"admin\",\"dictName\":\"会员激活方式\",\"remark\":\"会员激活的方式,签约入驻、卡密激活\",\"dictId\":101,\"params\":{},\"dictType\":\"csa_activation_way\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:22:55');
INSERT INTO `sys_oper_log` VALUES (554, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"程开州\",\"joinCredentialNo\":\"No.002\",\"coins\":15000,\"dueDate\":1649001600000,\"weight\":60,\"remark\":\"一个重要的客户介绍,非常喜欢我们的农场,订嘱每次到期前都要提醒约续。\",\"updateTime\":1649053538436,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1617552000000,\"balance\":0,\"createTime\":1649004126000,\"updateBy\":\"admin\",\"contractId\":2,\"days\":365,\"archedYears\":2,\"activateWay\":\"QY\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:25:38');
INSERT INTO `sys_oper_log` VALUES (555, '会员签约', 1, 'com.jlt.csa.controller.FarmerContractController.add()', 'POST', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053800597,\"contractId\":3,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:30:00');
INSERT INTO `sys_oper_log` VALUES (556, '字典数据', 1, 'com.ruoyi.web.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"0\",\"listClass\":\"default\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"正常\",\"createBy\":\"admin\",\"default\":false,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:34:02');
INSERT INTO `sys_oper_log` VALUES (557, '字典数据', 1, 'com.ruoyi.web.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"1\",\"listClass\":\"default\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"待审核\",\"createBy\":\"admin\",\"default\":false,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:34:29');
INSERT INTO `sys_oper_log` VALUES (558, '字典数据', 1, 'com.ruoyi.web.controller.system.SysDictDataController.add()', 'POST', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"2\",\"listClass\":\"default\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"作废\",\"createBy\":\"admin\",\"default\":false,\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:34:41');
INSERT INTO `sys_oper_log` VALUES (559, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"0\",\"listClass\":\"success\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"正常\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054042000,\"dictCode\":105,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:36:00');
INSERT INTO `sys_oper_log` VALUES (560, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"1\",\"listClass\":\"primary\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"待审核\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054069000,\"dictCode\":106,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:37:13');
INSERT INTO `sys_oper_log` VALUES (561, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"2\",\"listClass\":\"success\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"作废\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054081000,\"dictCode\":107,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:37:22');
INSERT INTO `sys_oper_log` VALUES (562, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"2\",\"listClass\":\"info\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"作废\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054081000,\"dictCode\":107,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:37:27');
INSERT INTO `sys_oper_log` VALUES (563, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"2\",\"listClass\":\"warning\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"作废\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054081000,\"dictCode\":107,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:37:33');
INSERT INTO `sys_oper_log` VALUES (564, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"2\",\"listClass\":\"danger\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"作废\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054081000,\"dictCode\":107,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:37:37');
INSERT INTO `sys_oper_log` VALUES (565, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"王丽美\",\"joinCredentialNo\":\"No.008\",\"coins\":10000,\"dueDate\":1651334400000,\"weight\":0,\"updateTime\":1649055260498,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"\",\"joinDate\":1646064000000,\"balance\":0,\"createTime\":1648823382000,\"updateBy\":\"admin\",\"contractId\":1,\"days\":62,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:54:20');
INSERT INTO `sys_oper_log` VALUES (566, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"程开州\",\"joinCredentialNo\":\"No.002\",\"coins\":15000,\"dueDate\":1649001600000,\"weight\":60,\"remark\":\"一个重要的客户介绍,非常喜欢我们的农场,订嘱每次到期前都要提醒约续。\",\"updateTime\":1649055264303,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1617552000000,\"balance\":0,\"createTime\":1649004126000,\"updateBy\":\"admin\",\"contractId\":2,\"days\":365,\"archedYears\":2,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:54:24');
INSERT INTO `sys_oper_log` VALUES (567, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649055267288,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":3,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 14:54:27');
INSERT INTO `sys_oper_log` VALUES (568, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"1\",\"listClass\":\"default\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"待审核\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054069000,\"dictCode\":106,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 15:25:30');
INSERT INTO `sys_oper_log` VALUES (569, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"1\",\"listClass\":\"danger\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"待审核\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054069000,\"dictCode\":106,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 15:25:35');
INSERT INTO `sys_oper_log` VALUES (570, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"2\",\"listClass\":\"primary\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"作废\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054081000,\"dictCode\":107,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 15:25:43');
INSERT INTO `sys_oper_log` VALUES (571, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"2\",\"listClass\":\"info\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"作废\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054081000,\"dictCode\":107,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 15:25:53');
INSERT INTO `sys_oper_log` VALUES (572, '字典数据', 2, 'com.ruoyi.web.controller.system.SysDictDataController.edit()', 'PUT', 1, 'admin', NULL, '/system/dict/data', '127.0.0.1', '内网IP', '{\"dictValue\":\"1\",\"listClass\":\"danger\",\"dictSort\":0,\"params\":{},\"dictType\":\"csa_contract_status\",\"dictLabel\":\"待定\",\"createBy\":\"admin\",\"default\":false,\"isDefault\":\"N\",\"createTime\":1649054069000,\"dictCode\":106,\"updateBy\":\"admin\",\"status\":\"0\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 15:34:17');
INSERT INTO `sys_oper_log` VALUES (573, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:51:00');
INSERT INTO `sys_oper_log` VALUES (574, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:51:18');
INSERT INTO `sys_oper_log` VALUES (575, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:52:07');
INSERT INTO `sys_oper_log` VALUES (576, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:53:36');
INSERT INTO `sys_oper_log` VALUES (577, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:53:45');
INSERT INTO `sys_oper_log` VALUES (578, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:54:40');
INSERT INTO `sys_oper_log` VALUES (579, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:55:30');
INSERT INTO `sys_oper_log` VALUES (580, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:56:49');
INSERT INTO `sys_oper_log` VALUES (581, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:57:10');
INSERT INTO `sys_oper_log` VALUES (582, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:57:27');
INSERT INTO `sys_oper_log` VALUES (583, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:57:53');
INSERT INTO `sys_oper_log` VALUES (584, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/1', '127.0.0.1', '内网IP', '1', '{\"msg\":\"合约不存在,无法审核!\",\"code\":500}', 0, NULL, '2022-04-04 17:58:18');
INSERT INTO `sys_oper_log` VALUES (585, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/103', '127.0.0.1', '内网IP', '103', '{\"msg\":\"该合约不符合审核条件!\",\"code\":500}', 0, NULL, '2022-04-04 17:58:43');
INSERT INTO `sys_oper_log` VALUES (586, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', NULL, 1, '缺少生效日期!', '2022-04-04 17:59:00');
INSERT INTO `sys_oper_log` VALUES (587, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', NULL, 1, '缺少生效日期!', '2022-04-04 17:59:10');
INSERT INTO `sys_oper_log` VALUES (588, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 18:03:34');
INSERT INTO `sys_oper_log` VALUES (589, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 18:04:52');
INSERT INTO `sys_oper_log` VALUES (590, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/103', '127.0.0.1', '内网IP', '103', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 18:05:35');
INSERT INTO `sys_oper_log` VALUES (591, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 18:06:35');
INSERT INTO `sys_oper_log` VALUES (592, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/103', '127.0.0.1', '内网IP', '103', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 18:10:06');
INSERT INTO `sys_oper_log` VALUES (593, '会员签约', 3, 'com.jlt.csa.controller.FarmerContractController.remove()', 'DELETE', 1, 'admin', NULL, '/csa/contract/103', '127.0.0.1', '内网IP', '{contractIds=103}', NULL, 1, '\r\n### Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'from csa_farmer_contract set delFlag = \'2\' where contract_id in\n ( \n \' at line 1\r\n### The error may exist in file [D:\\Projects\\私家农场\\Private-Farm\\private-farm\\target\\classes\\mapper\\csa\\FarmerContractMapper.xml]\r\n### The error may involve com.jlt.csa.mapper.FarmerContractMapper.deleteFarmerContractByContractIds-Inline\r\n### The error occurred while setting parameters\r\n### SQL: update from csa_farmer_contract set delFlag = \'2\' where contract_id in ( ? )\r\n### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'from csa_farmer_contract set delFlag = \'2\' where contract_id in\n ( \n \' at line 1\n; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'from csa_farmer_contract set delFlag = \'2\' where contract_id in\n ( \n \' at line 1', '2022-04-04 18:19:43');
INSERT INTO `sys_oper_log` VALUES (594, '会员签约', 3, 'com.jlt.csa.controller.FarmerContractController.remove()', 'DELETE', 1, 'admin', NULL, '/csa/contract/103', '127.0.0.1', '内网IP', '{contractIds=103}', NULL, 1, '\r\n### Error updating database. Cause: java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'\r\n### The error may exist in file [D:\\Projects\\私家农场\\Private-Farm\\private-farm\\target\\classes\\mapper\\csa\\FarmerContractMapper.xml]\r\n### The error may involve com.jlt.csa.mapper.FarmerContractMapper.deleteFarmerContractByContractIds-Inline\r\n### The error occurred while setting parameters\r\n### SQL: update csa_farmer_contract set delFlag = \'2\' where contract_id in ( ? )\r\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'\n; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'', '2022-04-04 18:21:14');
INSERT INTO `sys_oper_log` VALUES (595, '会员签约', 3, 'com.jlt.csa.controller.FarmerContractController.remove()', 'DELETE', 1, 'admin', NULL, '/csa/contract/103', '127.0.0.1', '内网IP', '{contractIds=103}', NULL, 1, '\r\n### Error updating database. Cause: java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'\r\n### The error may exist in file [D:\\Projects\\私家农场\\Private-Farm\\private-farm\\target\\classes\\mapper\\csa\\FarmerContractMapper.xml]\r\n### The error may involve com.jlt.csa.mapper.FarmerContractMapper.deleteFarmerContractByContractIds-Inline\r\n### The error occurred while setting parameters\r\n### SQL: update csa_farmer_contract set delFlag = \'2\' where contract_id in ( ? )\r\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'\n; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'', '2022-04-04 18:26:47');
INSERT INTO `sys_oper_log` VALUES (596, '会员签约', 3, 'com.jlt.csa.controller.FarmerContractController.remove()', 'DELETE', 1, 'admin', NULL, '/csa/contract/103', '127.0.0.1', '内网IP', '{contractIds=103}', NULL, 1, '\r\n### Error updating database. Cause: java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'\r\n### The error may exist in file [D:\\Projects\\私家农场\\Private-Farm\\private-farm\\target\\classes\\mapper\\csa\\FarmerContractMapper.xml]\r\n### The error may involve com.jlt.csa.mapper.FarmerContractMapper.deleteFarmerContractByContractIds-Inline\r\n### The error occurred while setting parameters\r\n### SQL: update csa_farmer_contract set delFlag = \'2\' where contract_id in ( ? )\r\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'\n; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'', '2022-04-04 18:27:30');
INSERT INTO `sys_oper_log` VALUES (597, '会员签约', 3, 'com.jlt.csa.controller.FarmerContractController.remove()', 'DELETE', 1, 'admin', NULL, '/csa/contract/103', '127.0.0.1', '内网IP', '{contractIds=103}', NULL, 1, '\r\n### Error updating database. Cause: java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'\r\n### The error may exist in file [D:\\Projects\\私家农场\\Private-Farm\\private-farm\\target\\classes\\mapper\\csa\\FarmerContractMapper.xml]\r\n### The error may involve com.jlt.csa.mapper.FarmerContractMapper.deleteFarmerContractByContractIds-Inline\r\n### The error occurred while setting parameters\r\n### SQL: update csa_farmer_contract set delFlag = \'2\' where contract_id in ( ? )\r\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'\n; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column \'delFlag\' in \'field list\'', '2022-04-04 18:27:53');
INSERT INTO `sys_oper_log` VALUES (598, '会员签约', 3, 'com.jlt.csa.controller.FarmerContractController.remove()', 'DELETE', 1, 'admin', NULL, '/csa/contract/103', '127.0.0.1', '内网IP', '{contractIds=103}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 18:29:13');
INSERT INTO `sys_oper_log` VALUES (599, '会员签约', 3, 'com.jlt.csa.controller.FarmerContractController.remove()', 'DELETE', 1, 'admin', NULL, '/csa/contract/103', '127.0.0.1', '内网IP', '{contractIds=103}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 18:46:34');
INSERT INTO `sys_oper_log` VALUES (600, '会员签约', 3, 'com.jlt.csa.controller.FarmerContractController.remove()', 'DELETE', 1, 'admin', NULL, '/csa/contract/103', '127.0.0.1', '内网IP', '{contractIds=103}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:27:48');
INSERT INTO `sys_oper_log` VALUES (601, '会员签约', 3, 'com.jlt.csa.controller.FarmerContractController.remove()', 'DELETE', 1, 'admin', NULL, '/csa/contract/103', '127.0.0.1', '内网IP', '{contractIds=103}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:34:20');
INSERT INTO `sys_oper_log` VALUES (602, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649079645290,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:40:45');
INSERT INTO `sys_oper_log` VALUES (603, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649079669858,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:41:09');
INSERT INTO `sys_oper_log` VALUES (604, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649079695653,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:41:36');
INSERT INTO `sys_oper_log` VALUES (605, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649079702391,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:41:42');
INSERT INTO `sys_oper_log` VALUES (606, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649079708057,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:41:48');
INSERT INTO `sys_oper_log` VALUES (607, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649079794213,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:43:14');
INSERT INTO `sys_oper_log` VALUES (608, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649079994606,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:46:35');
INSERT INTO `sys_oper_log` VALUES (609, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649080013397,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:46:53');
INSERT INTO `sys_oper_log` VALUES (610, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649080027435,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:47:07');
INSERT INTO `sys_oper_log` VALUES (611, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649080773584,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 21:59:33');
INSERT INTO `sys_oper_log` VALUES (612, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649080862910,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:01:03');
INSERT INTO `sys_oper_log` VALUES (613, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649080890456,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:01:30');
INSERT INTO `sys_oper_log` VALUES (614, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649080918482,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:01:58');
INSERT INTO `sys_oper_log` VALUES (615, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649080957990,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:02:38');
INSERT INTO `sys_oper_log` VALUES (616, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649080994431,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:03:14');
INSERT INTO `sys_oper_log` VALUES (617, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649081027113,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:03:47');
INSERT INTO `sys_oper_log` VALUES (618, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649081293469,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:08:13');
INSERT INTO `sys_oper_log` VALUES (619, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649081324063,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:08:44');
INSERT INTO `sys_oper_log` VALUES (620, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649081578408,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:12:58');
INSERT INTO `sys_oper_log` VALUES (621, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082043468,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:20:43');
INSERT INTO `sys_oper_log` VALUES (622, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082112333,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:21:52');
INSERT INTO `sys_oper_log` VALUES (623, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082150561,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:22:30');
INSERT INTO `sys_oper_log` VALUES (624, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082173117,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:22:53');
INSERT INTO `sys_oper_log` VALUES (625, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082392005,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:26:32');
INSERT INTO `sys_oper_log` VALUES (626, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082430629,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:27:11');
INSERT INTO `sys_oper_log` VALUES (627, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082531383,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:28:51');
INSERT INTO `sys_oper_log` VALUES (628, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082601149,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:30:01');
INSERT INTO `sys_oper_log` VALUES (629, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082618475,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:30:18');
INSERT INTO `sys_oper_log` VALUES (630, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082653783,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:30:53');
INSERT INTO `sys_oper_log` VALUES (631, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649082672457,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-04 22:31:12');
INSERT INTO `sys_oper_log` VALUES (632, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"范诚诚\",\"joinCredentialNo\":\"No.003\",\"coins\":20000,\"dueDate\":1651248000000,\"weight\":0,\"updateTime\":1649088094867,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1619798400000,\"balance\":0,\"createTime\":1649053801000,\"updateBy\":\"admin\",\"contractId\":103,\"days\":365,\"archedYears\":0,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:01:34');
INSERT INTO `sys_oper_log` VALUES (633, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/103', '127.0.0.1', '内网IP', '103', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:02:13');
INSERT INTO `sys_oper_log` VALUES (634, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.edit()', 'PUT', 1, 'admin', NULL, '/csa/contract', '127.0.0.1', '内网IP', '{\"contractor\":\"程开州\",\"joinCredentialNo\":\"No.002\",\"coins\":15000,\"dueDate\":1649001600000,\"weight\":60,\"remark\":\"一个重要的客户介绍,非常喜欢我们的农场,订嘱每次到期前都要提醒约续。\",\"updateTime\":1649088716594,\"delFlag\":\"0\",\"params\":{},\"createBy\":\"admin\",\"joinDate\":1617552000000,\"balance\":0,\"createTime\":1649004126000,\"updateBy\":\"admin\",\"contractId\":102,\"days\":365,\"archedYears\":2,\"activateWay\":\"QY\"}', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:11:56');
INSERT INTO `sys_oper_log` VALUES (635, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:12:45');
INSERT INTO `sys_oper_log` VALUES (636, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/2', '127.0.0.1', '内网IP', '2', NULL, 1, '合约不存在,无法审核!', '2022-04-05 00:14:16');
INSERT INTO `sys_oper_log` VALUES (637, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/2', '127.0.0.1', '内网IP', '2', NULL, 1, '合约不存在,无法审核!', '2022-04-05 00:14:24');
INSERT INTO `sys_oper_log` VALUES (638, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/103', '127.0.0.1', '内网IP', '103', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:15:45');
INSERT INTO `sys_oper_log` VALUES (639, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:15:53');
INSERT INTO `sys_oper_log` VALUES (640, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/103', '127.0.0.1', '内网IP', '103', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:17:00');
INSERT INTO `sys_oper_log` VALUES (641, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:17:06');
INSERT INTO `sys_oper_log` VALUES (642, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/103', '127.0.0.1', '内网IP', '103', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:18:07');
INSERT INTO `sys_oper_log` VALUES (643, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:18:24');
INSERT INTO `sys_oper_log` VALUES (644, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:41:04');
INSERT INTO `sys_oper_log` VALUES (645, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/103', '127.0.0.1', '内网IP', '103', NULL, 1, '', '2022-04-05 00:42:26');
INSERT INTO `sys_oper_log` VALUES (646, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/103', '127.0.0.1', '内网IP', '103', NULL, 1, '\r\n### Error updating database. Cause: java.sql.SQLException: Field \'name\' doesn\'t have a default value\r\n### The error may exist in file [D:\\Projects\\私家农场\\Private-Farm\\private-farm\\target\\classes\\mapper\\csa\\FarmerMapper.xml]\r\n### The error may involve com.jlt.csa.mapper.FarmerMapper.insertFarmer-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into csa_farmer ( coins, balance, weight, arched_years, join_date, is_expire, create_time ) values ( ?, ?, ?, ?, ?, ?, ? )\r\n### Cause: java.sql.SQLException: Field \'name\' doesn\'t have a default value\n; Field \'name\' doesn\'t have a default value; nested exception is java.sql.SQLException: Field \'name\' doesn\'t have a default value', '2022-04-05 00:47:57');
INSERT INTO `sys_oper_log` VALUES (647, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/103', '127.0.0.1', '内网IP', '103', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:49:10');
INSERT INTO `sys_oper_log` VALUES (648, '会员签约', 2, 'com.jlt.csa.controller.FarmerContractController.audit()', 'PUT', 1, 'admin', NULL, '/csa/contract/audit/102', '127.0.0.1', '内网IP', '102', '{\"msg\":\"操作成功\",\"code\":200}', 0, NULL, '2022-04-05 00:49:33');
-- ----------------------------
-- Table structure for sys_post
@ -2278,7 +2467,7 @@ CREATE TABLE `sys_user` (
-- ----------------------------
-- Records of sys_user
-- ----------------------------
INSERT INTO `sys_user` VALUES (1, 103, 'admin', '超级管理员', '00', '', '', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', '2022-04-01 21:35:01', 'admin', '2022-03-20 21:45:25', '', '2022-04-01 21:35:00', '管理员');
INSERT INTO `sys_user` VALUES (1, 103, 'admin', '超级管理员', '00', '', '', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', '2022-04-04 23:42:50', 'admin', '2022-03-20 21:45:25', '', '2022-04-04 23:42:50', '管理员');
INSERT INTO `sys_user` VALUES (2, 101, 'boss', '农场管理员', '00', '', '', '2', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', '2022-03-20 21:45:25', 'admin', '2022-03-20 21:45:25', 'admin', '2022-03-29 17:51:59', '');
INSERT INTO `sys_user` VALUES (100, 104, '101', '场长', '00', '88@66.com', '18888888888', '0', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', '2022-03-30 22:05:56', 'admin', '2022-03-29 18:18:00', 'admin', '2022-03-30 22:05:56', NULL);