@@ -314,8 +314,11 @@
|
|||||||
if (r) {
|
if (r) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "post",
|
type: "post",
|
||||||
url: "/serialNumber/" + id + "/delete",
|
url: "/serialNumber/batchDeleteSerialNumberByIds",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
|
data: ({
|
||||||
|
ids: id
|
||||||
|
}),
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if(res && res.code == 200) {
|
if(res && res.code == 200) {
|
||||||
$("#searchBtn").click();
|
$("#searchBtn").click();
|
||||||
@@ -353,7 +356,7 @@
|
|||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "post",
|
type: "post",
|
||||||
url: "/serialNumber/batchDelete",
|
url: "/serialNumber/batchDeleteSerialNumberByIds",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
async: false,
|
async: false,
|
||||||
data: ({
|
data: ({
|
||||||
|
|||||||
@@ -1501,4 +1501,52 @@ alter table jsh_serial_number add tenant_id bigint(20) DEFAULT null COMMENT '租
|
|||||||
alter table jsh_supplier add tenant_id bigint(20) DEFAULT null COMMENT '租户id';
|
alter table jsh_supplier add tenant_id bigint(20) DEFAULT null COMMENT '租户id';
|
||||||
alter table jsh_systemconfig add tenant_id bigint(20) DEFAULT null COMMENT '租户id';
|
alter table jsh_systemconfig add tenant_id bigint(20) DEFAULT null COMMENT '租户id';
|
||||||
alter table jsh_unit add tenant_id bigint(20) DEFAULT null COMMENT '租户id';
|
alter table jsh_unit add tenant_id bigint(20) DEFAULT null COMMENT '租户id';
|
||||||
alter table jsh_user add tenant_id bigint(20) DEFAULT null COMMENT '租户id';
|
alter table jsh_user add tenant_id bigint(20) DEFAULT null COMMENT '租户id';
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- 时间:2019年3月27日
|
||||||
|
-- version:1.0.12
|
||||||
|
-- 此次更新
|
||||||
|
-- 添加删除标记,将物理删除修改为逻辑删除
|
||||||
|
-- 特别提醒:之后的sql都是在之前基础上迭代,可以对已存在的系统进行数据保留更新
|
||||||
|
-- ----------------------------
|
||||||
|
-- 角色表 jsh_role
|
||||||
|
alter table jsh_role add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 用户 角色 模块关系表 jsh_userbusiness
|
||||||
|
alter table jsh_userbusiness add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 功能模块表 jsh_functions
|
||||||
|
alter table jsh_functions add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 应用表 jsh_app
|
||||||
|
alter table jsh_app add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 产品表 jsh_material
|
||||||
|
alter table jsh_material add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 产品扩展字段表 jsh_materialproperty
|
||||||
|
alter table jsh_materialproperty add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 经手人表 jsh_person
|
||||||
|
alter table jsh_person add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 供应商 客户信息表 jsh_supplier
|
||||||
|
alter table jsh_supplier add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 系统参数表 jsh_systemconfig
|
||||||
|
alter table jsh_systemconfig add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 多单位表 jsh_unit
|
||||||
|
alter table jsh_unit add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 仓库表 jsh_depot
|
||||||
|
alter table jsh_depot add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 账户信息表 jsh_account
|
||||||
|
alter table jsh_account add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 财务主表 jsh_accounthead
|
||||||
|
alter table jsh_accounthead add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 财务子表 jsh_accountitem
|
||||||
|
alter table jsh_accountitem add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 资产记录表 jsh_asset
|
||||||
|
alter table jsh_asset add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 资产类型表 jsh_assetcategory
|
||||||
|
alter table jsh_assetcategory add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 资产信息表 jsh_assetname
|
||||||
|
alter table jsh_assetname add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 单据主表 jsh_depothead
|
||||||
|
alter table jsh_depothead add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 单据子表 jsh_depotitem
|
||||||
|
alter table jsh_depotitem add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
|
-- 收支项目表 jsh_inoutitem
|
||||||
|
alter table jsh_inoutitem add delete_Flag varchar(1) DEFAULT '0' COMMENT '删除标记,0未删除,1删除';
|
||||||
Binary file not shown.
@@ -101,6 +101,9 @@ public class ExceptionConstants {
|
|||||||
/**商品%s下序列号不充足,请补充后重试*/
|
/**商品%s下序列号不充足,请补充后重试*/
|
||||||
public static final int MATERIAL_SERIAL_NUMBERE_NOT_ENOUGH_CODE = 10500002;
|
public static final int MATERIAL_SERIAL_NUMBERE_NOT_ENOUGH_CODE = 10500002;
|
||||||
public static final String MATERIAL_SERIAL_NUMBERE_NOT_ENOUGH_MSG = "商品:%s下序列号不充足,请补充后重试";
|
public static final String MATERIAL_SERIAL_NUMBERE_NOT_ENOUGH_MSG = "商品:%s下序列号不充足,请补充后重试";
|
||||||
|
/**删序列号信息失败*/
|
||||||
|
public static final int SERIAL_NUMBERE_DELETE_FAILED_CODE = 10500003;
|
||||||
|
public static final String SERIAL_NUMBERE_DELETE_FAILED_MSG = "删序列号信息失败";
|
||||||
/**
|
/**
|
||||||
* 机构
|
* 机构
|
||||||
* type = 110
|
* type = 110
|
||||||
|
|||||||
@@ -76,4 +76,5 @@ public class RoleController {
|
|||||||
public List<Role> list(HttpServletRequest request) {
|
public List<Role> list(HttpServletRequest request) {
|
||||||
return roleService.getRole();
|
return roleService.getRole();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,14 +5,12 @@ import com.alibaba.fastjson.JSONObject;
|
|||||||
import com.jsh.erp.constants.ExceptionConstants;
|
import com.jsh.erp.constants.ExceptionConstants;
|
||||||
import com.jsh.erp.datasource.entities.SerialNumberEx;
|
import com.jsh.erp.datasource.entities.SerialNumberEx;
|
||||||
import com.jsh.erp.exception.BusinessParamCheckingException;
|
import com.jsh.erp.exception.BusinessParamCheckingException;
|
||||||
|
import com.jsh.erp.exception.BusinessRunTimeException;
|
||||||
import com.jsh.erp.service.serialNumber.SerialNumberService;
|
import com.jsh.erp.service.serialNumber.SerialNumberService;
|
||||||
import com.jsh.erp.utils.StringUtil;
|
import com.jsh.erp.utils.StringUtil;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
@@ -109,19 +107,26 @@ public class SerialNumberController {
|
|||||||
return result;
|
return result;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* create by: qiankunpingtai
|
||||||
|
* website:http://39.105.146.63/symphony/
|
||||||
|
* description:
|
||||||
|
* 逻辑删除序列号信息
|
||||||
|
* create time: 2019/3/27 17:43
|
||||||
|
* @Param: ids
|
||||||
|
* @return java.lang.Object
|
||||||
|
*/
|
||||||
|
@RequestMapping(value = "/serialNumber/batchDeleteSerialNumberByIds")
|
||||||
|
public Object batchDeleteSerialNumberByIds(@RequestParam("ids") String ids) throws Exception {
|
||||||
|
JSONObject result = ExceptionConstants.standardSuccess();
|
||||||
|
int i= serialNumberService.batchDeleteSerialNumberByIds(ids);
|
||||||
|
if(i<1){
|
||||||
|
logger.error("异常码[{}],异常提示[{}],参数,ids[{}]",
|
||||||
|
ExceptionConstants.SERIAL_NUMBERE_DELETE_FAILED_CODE,ExceptionConstants.SERIAL_NUMBERE_DELETE_FAILED_MSG,ids);
|
||||||
|
throw new BusinessRunTimeException(ExceptionConstants.SERIAL_NUMBERE_DELETE_FAILED_CODE,
|
||||||
|
ExceptionConstants.SERIAL_NUMBERE_DELETE_FAILED_MSG);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,6 +67,14 @@ public class Account {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_account.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_account.Id
|
* This method returns the value of the database column jsh_account.Id
|
||||||
@@ -258,4 +266,28 @@ public class Account {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_account.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_account.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_account.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_account.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -704,6 +704,76 @@ public class AccountExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -92,6 +92,14 @@ public class AccountHead {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_accounthead.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_accounthead.Id
|
* This method returns the value of the database column jsh_accounthead.Id
|
||||||
@@ -355,4 +363,28 @@ public class AccountHead {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_accounthead.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_accounthead.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_accounthead.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_accounthead.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -885,6 +885,76 @@ public class AccountHeadExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -59,6 +59,14 @@ public class AccountItem {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_accountitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_accountitem.Id
|
* This method returns the value of the database column jsh_accountitem.Id
|
||||||
@@ -226,4 +234,28 @@ public class AccountItem {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_accountitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_accountitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_accountitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_accountitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -624,6 +624,76 @@ public class AccountItemExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -121,6 +121,14 @@ public class App {
|
|||||||
*/
|
*/
|
||||||
private Boolean enabled;
|
private Boolean enabled;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_app.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_app.Id
|
* This method returns the value of the database column jsh_app.Id
|
||||||
@@ -480,4 +488,28 @@ public class App {
|
|||||||
public void setEnabled(Boolean enabled) {
|
public void setEnabled(Boolean enabled) {
|
||||||
this.enabled = enabled;
|
this.enabled = enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_app.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_app.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_app.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_app.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1193,6 +1193,76 @@ public class AppExample {
|
|||||||
addCriterion("Enabled not between", value1, value2, "enabled");
|
addCriterion("Enabled not between", value1, value2, "enabled");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -148,6 +148,14 @@ public class Asset {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_asset.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This field was generated by MyBatis Generator.
|
* This field was generated by MyBatis Generator.
|
||||||
* This field corresponds to the database column jsh_asset.description
|
* This field corresponds to the database column jsh_asset.description
|
||||||
@@ -596,6 +604,30 @@ public class Asset {
|
|||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_asset.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_asset.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_asset.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_asset.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_asset.description
|
* This method returns the value of the database column jsh_asset.description
|
||||||
|
|||||||
@@ -41,6 +41,14 @@ public class AssetCategory {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_assetcategory.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_assetcategory.id
|
* This method returns the value of the database column jsh_assetcategory.id
|
||||||
@@ -160,4 +168,28 @@ public class AssetCategory {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_assetcategory.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_assetcategory.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_assetcategory.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_assetcategory.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -513,6 +513,76 @@ public class AssetCategoryExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1315,6 +1315,76 @@ public class AssetExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -49,6 +49,14 @@ public class AssetName {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_assetname.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This field was generated by MyBatis Generator.
|
* This field was generated by MyBatis Generator.
|
||||||
* This field corresponds to the database column jsh_assetname.description
|
* This field corresponds to the database column jsh_assetname.description
|
||||||
@@ -201,6 +209,30 @@ public class AssetName {
|
|||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_assetname.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_assetname.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_assetname.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_assetname.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_assetname.description
|
* This method returns the value of the database column jsh_assetname.description
|
||||||
|
|||||||
@@ -563,6 +563,76 @@ public class AssetNameExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -83,6 +83,14 @@ public class Depot {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_depot.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_depot.id
|
* This method returns the value of the database column jsh_depot.id
|
||||||
@@ -322,4 +330,28 @@ public class Depot {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_depot.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_depot.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_depot.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_depot.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -834,6 +834,76 @@ public class DepotExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -244,6 +244,14 @@ public class DepotHead {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_depothead.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_depothead.Id
|
* This method returns the value of the database column jsh_depothead.Id
|
||||||
@@ -963,4 +971,28 @@ public class DepotHead {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_depothead.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_depothead.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_depothead.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_depothead.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -2135,6 +2135,76 @@ public class DepotHeadExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -195,6 +195,14 @@ public class DepotItem {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_depotitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_depotitem.Id
|
* This method returns the value of the database column jsh_depotitem.Id
|
||||||
@@ -770,4 +778,28 @@ public class DepotItem {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_depotitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_depotitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_depotitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_depotitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1724,6 +1724,76 @@ public class DepotItemExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -81,6 +81,14 @@ public class Functions {
|
|||||||
*/
|
*/
|
||||||
private String pushbtn;
|
private String pushbtn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_functions.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_functions.Id
|
* This method returns the value of the database column jsh_functions.Id
|
||||||
@@ -320,4 +328,28 @@ public class Functions {
|
|||||||
public void setPushbtn(String pushbtn) {
|
public void setPushbtn(String pushbtn) {
|
||||||
this.pushbtn = pushbtn == null ? null : pushbtn.trim();
|
this.pushbtn = pushbtn == null ? null : pushbtn.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_functions.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_functions.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_functions.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_functions.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -863,6 +863,76 @@ public class FunctionsExample {
|
|||||||
addCriterion("PushBtn not between", value1, value2, "pushbtn");
|
addCriterion("PushBtn not between", value1, value2, "pushbtn");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -41,6 +41,14 @@ public class InOutItem {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_inoutitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_inoutitem.Id
|
* This method returns the value of the database column jsh_inoutitem.Id
|
||||||
@@ -160,4 +168,28 @@ public class InOutItem {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_inoutitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_inoutitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_inoutitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_inoutitem.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -523,6 +523,76 @@ public class InOutItemExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -203,6 +203,14 @@ public class Material {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_material.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_material.Id
|
* This method returns the value of the database column jsh_material.Id
|
||||||
@@ -802,4 +810,28 @@ public class Material {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_material.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_material.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_material.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_material.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1834,6 +1834,76 @@ public class MaterialExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -41,6 +41,14 @@ public class MaterialProperty {
|
|||||||
*/
|
*/
|
||||||
private String anothername;
|
private String anothername;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_materialproperty.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_materialproperty.id
|
* This method returns the value of the database column jsh_materialproperty.id
|
||||||
@@ -160,4 +168,28 @@ public class MaterialProperty {
|
|||||||
public void setAnothername(String anothername) {
|
public void setAnothername(String anothername) {
|
||||||
this.anothername = anothername == null ? null : anothername.trim();
|
this.anothername = anothername == null ? null : anothername.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_materialproperty.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_materialproperty.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_materialproperty.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_materialproperty.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -523,6 +523,76 @@ public class MaterialPropertyExample {
|
|||||||
addCriterion("anotherName not between", value1, value2, "anothername");
|
addCriterion("anotherName not between", value1, value2, "anothername");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -33,6 +33,14 @@ public class Person {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_person.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_person.Id
|
* This method returns the value of the database column jsh_person.Id
|
||||||
@@ -128,4 +136,28 @@ public class Person {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_person.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_person.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_person.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_person.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -453,6 +453,76 @@ public class PersonExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -49,6 +49,14 @@ public class Role {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_role.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_role.Id
|
* This method returns the value of the database column jsh_role.Id
|
||||||
@@ -192,4 +200,28 @@ public class Role {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_role.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_role.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_role.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_role.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -593,6 +593,76 @@ public class RoleExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -179,6 +179,14 @@ public class Supplier {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_supplier.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_supplier.id
|
* This method returns the value of the database column jsh_supplier.id
|
||||||
@@ -706,4 +714,28 @@ public class Supplier {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_supplier.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_supplier.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_supplier.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_supplier.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1634,6 +1634,76 @@ public class SupplierExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -65,6 +65,14 @@ public class SystemConfig {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_systemconfig.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_systemconfig.id
|
* This method returns the value of the database column jsh_systemconfig.id
|
||||||
@@ -256,4 +264,28 @@ public class SystemConfig {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_systemconfig.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_systemconfig.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_systemconfig.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_systemconfig.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -733,6 +733,76 @@ public class SystemConfigExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -25,6 +25,14 @@ public class Unit {
|
|||||||
*/
|
*/
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_unit.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_unit.id
|
* This method returns the value of the database column jsh_unit.id
|
||||||
@@ -96,4 +104,28 @@ public class Unit {
|
|||||||
public void setTenantId(Long tenantId) {
|
public void setTenantId(Long tenantId) {
|
||||||
this.tenantId = tenantId;
|
this.tenantId = tenantId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_unit.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_unit.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_unit.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_unit.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -383,6 +383,76 @@ public class UnitExample {
|
|||||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -41,6 +41,14 @@ public class UserBusiness {
|
|||||||
*/
|
*/
|
||||||
private String btnstr;
|
private String btnstr;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column jsh_userbusiness.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
private String deleteFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method was generated by MyBatis Generator.
|
* This method was generated by MyBatis Generator.
|
||||||
* This method returns the value of the database column jsh_userbusiness.Id
|
* This method returns the value of the database column jsh_userbusiness.Id
|
||||||
@@ -160,4 +168,28 @@ public class UserBusiness {
|
|||||||
public void setBtnstr(String btnstr) {
|
public void setBtnstr(String btnstr) {
|
||||||
this.btnstr = btnstr == null ? null : btnstr.trim();
|
this.btnstr = btnstr == null ? null : btnstr.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column jsh_userbusiness.delete_Flag
|
||||||
|
*
|
||||||
|
* @return the value of jsh_userbusiness.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public String getDeleteFlag() {
|
||||||
|
return deleteFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column jsh_userbusiness.delete_Flag
|
||||||
|
*
|
||||||
|
* @param deleteFlag the value for jsh_userbusiness.delete_Flag
|
||||||
|
*
|
||||||
|
* @mbggenerated
|
||||||
|
*/
|
||||||
|
public void setDeleteFlag(String deleteFlag) {
|
||||||
|
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -533,6 +533,76 @@ public class UserBusinessExample {
|
|||||||
addCriterion("BtnStr not between", value1, value2, "btnstr");
|
addCriterion("BtnStr not between", value1, value2, "btnstr");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNull() {
|
||||||
|
addCriterion("delete_Flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIsNotNull() {
|
||||||
|
addCriterion("delete_Flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||||
|
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThan(String value) {
|
||||||
|
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagLike(String value) {
|
||||||
|
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotLike(String value) {
|
||||||
|
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -60,4 +60,6 @@ public interface SerialNumberMapperEx {
|
|||||||
* 批量添加序列号
|
* 批量添加序列号
|
||||||
* */
|
* */
|
||||||
int batAddSerialNumber(@Param("list") List<SerialNumberEx> list);
|
int batAddSerialNumber(@Param("list") List<SerialNumberEx> list);
|
||||||
|
|
||||||
|
int batchDeleteSerialNumberByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -391,4 +391,23 @@ public class SerialNumberService {
|
|||||||
}while(batAddTotal>0);
|
}while(batAddTotal>0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* create by: qiankunpingtai
|
||||||
|
* website:http://39.105.146.63/symphony/
|
||||||
|
* description:
|
||||||
|
* 逻辑删除序列号信息
|
||||||
|
* create time: 2019/3/27 17:43
|
||||||
|
* @Param: ids
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
||||||
|
public int batchDeleteSerialNumberByIds(String ids) {
|
||||||
|
logService.insertLog(BusinessConstants.LOG_INTERFACE_NAME_SERIAL_NUMBER,
|
||||||
|
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_DELETE).append(ids).toString(),
|
||||||
|
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
||||||
|
User userInfo=userService.getCurrentUser();
|
||||||
|
String [] idArray=ids.split(",");
|
||||||
|
return serialNumberMapperEx.batchDeleteSerialNumberByIds(new Date(),userInfo==null?null:userInfo.getId(),idArray);
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ public class UserService {
|
|||||||
*/
|
*/
|
||||||
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
||||||
public int updateUserByObj(User user) {
|
public int updateUserByObj(User user) {
|
||||||
logService.insertLog(BusinessConstants.LOG_MODULE_NAME_USER,
|
logService.insertLog(BusinessConstants.LOG_INTERFACE_NAME_USER,
|
||||||
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_EDIT).append(user.getId()).toString(),
|
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_EDIT).append(user.getId()).toString(),
|
||||||
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
||||||
return userMapper.updateByPrimaryKeySelective(user);
|
return userMapper.updateByPrimaryKeySelective(user);
|
||||||
@@ -128,7 +128,7 @@ public class UserService {
|
|||||||
*/
|
*/
|
||||||
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
||||||
public int resetPwd(String md5Pwd, Long id) {
|
public int resetPwd(String md5Pwd, Long id) {
|
||||||
logService.insertLog(BusinessConstants.LOG_MODULE_NAME_USER,
|
logService.insertLog(BusinessConstants.LOG_INTERFACE_NAME_USER,
|
||||||
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_EDIT).append(id).toString(),
|
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_EDIT).append(id).toString(),
|
||||||
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
||||||
User user = new User();
|
User user = new User();
|
||||||
@@ -217,7 +217,7 @@ public class UserService {
|
|||||||
}
|
}
|
||||||
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
||||||
public void addUserAndOrgUserRel(UserEx ue) throws Exception{
|
public void addUserAndOrgUserRel(UserEx ue) throws Exception{
|
||||||
logService.insertLog(BusinessConstants.LOG_MODULE_NAME_USER,
|
logService.insertLog(BusinessConstants.LOG_INTERFACE_NAME_USER,
|
||||||
BusinessConstants.LOG_OPERATION_TYPE_ADD,
|
BusinessConstants.LOG_OPERATION_TYPE_ADD,
|
||||||
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
||||||
//检查用户名和登录名
|
//检查用户名和登录名
|
||||||
@@ -274,7 +274,7 @@ public class UserService {
|
|||||||
}
|
}
|
||||||
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
||||||
public void updateUserAndOrgUserRel(UserEx ue) throws Exception{
|
public void updateUserAndOrgUserRel(UserEx ue) throws Exception{
|
||||||
logService.insertLog(BusinessConstants.LOG_MODULE_NAME_USER,
|
logService.insertLog(BusinessConstants.LOG_INTERFACE_NAME_USER,
|
||||||
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_EDIT).append(ue.getId()).toString(),
|
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_EDIT).append(ue.getId()).toString(),
|
||||||
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
||||||
//检查用户名和登录名
|
//检查用户名和登录名
|
||||||
@@ -405,7 +405,7 @@ public class UserService {
|
|||||||
* */
|
* */
|
||||||
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
||||||
public void batDeleteUser(String ids) {
|
public void batDeleteUser(String ids) {
|
||||||
logService.insertLog(BusinessConstants.LOG_MODULE_NAME_USER,
|
logService.insertLog(BusinessConstants.LOG_INTERFACE_NAME_USER,
|
||||||
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_DELETE).append(ids).toString(),
|
new StringBuffer(BusinessConstants.LOG_OPERATION_TYPE_DELETE).append(ids).toString(),
|
||||||
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
|
||||||
String idsArray[]=ids.split(",");
|
String idsArray[]=ids.split(",");
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
<result column="BillTime" jdbcType="TIMESTAMP" property="billtime" />
|
<result column="BillTime" jdbcType="TIMESTAMP" property="billtime" />
|
||||||
<result column="Remark" jdbcType="VARCHAR" property="remark" />
|
<result column="Remark" jdbcType="VARCHAR" property="remark" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -90,7 +91,7 @@
|
|||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
Id, Type, OrganId, HandsPersonId, ChangeAmount, TotalPrice, AccountId, BillNo, BillTime,
|
Id, Type, OrganId, HandsPersonId, ChangeAmount, TotalPrice, AccountId, BillNo, BillTime,
|
||||||
Remark, tenant_id
|
Remark, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AccountHeadExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AccountHeadExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -146,11 +147,13 @@
|
|||||||
insert into jsh_accounthead (Id, Type, OrganId,
|
insert into jsh_accounthead (Id, Type, OrganId,
|
||||||
HandsPersonId, ChangeAmount, TotalPrice,
|
HandsPersonId, ChangeAmount, TotalPrice,
|
||||||
AccountId, BillNo, BillTime,
|
AccountId, BillNo, BillTime,
|
||||||
Remark, tenant_id)
|
Remark, tenant_id, delete_Flag
|
||||||
|
)
|
||||||
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{organid,jdbcType=BIGINT},
|
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{organid,jdbcType=BIGINT},
|
||||||
#{handspersonid,jdbcType=BIGINT}, #{changeamount,jdbcType=DECIMAL}, #{totalprice,jdbcType=DECIMAL},
|
#{handspersonid,jdbcType=BIGINT}, #{changeamount,jdbcType=DECIMAL}, #{totalprice,jdbcType=DECIMAL},
|
||||||
#{accountid,jdbcType=BIGINT}, #{billno,jdbcType=VARCHAR}, #{billtime,jdbcType=TIMESTAMP},
|
#{accountid,jdbcType=BIGINT}, #{billno,jdbcType=VARCHAR}, #{billtime,jdbcType=TIMESTAMP},
|
||||||
#{remark,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT})
|
#{remark,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}
|
||||||
|
)
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.AccountHead">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.AccountHead">
|
||||||
<!--
|
<!--
|
||||||
@@ -192,6 +195,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -227,6 +233,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AccountHeadExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AccountHeadExample" resultType="java.lang.Integer">
|
||||||
@@ -279,6 +288,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -300,7 +312,8 @@
|
|||||||
BillNo = #{record.billno,jdbcType=VARCHAR},
|
BillNo = #{record.billno,jdbcType=VARCHAR},
|
||||||
BillTime = #{record.billtime,jdbcType=TIMESTAMP},
|
BillTime = #{record.billtime,jdbcType=TIMESTAMP},
|
||||||
Remark = #{record.remark,jdbcType=VARCHAR},
|
Remark = #{record.remark,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -342,6 +355,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -360,7 +376,8 @@
|
|||||||
BillNo = #{billno,jdbcType=VARCHAR},
|
BillNo = #{billno,jdbcType=VARCHAR},
|
||||||
BillTime = #{billtime,jdbcType=TIMESTAMP},
|
BillTime = #{billtime,jdbcType=TIMESTAMP},
|
||||||
Remark = #{remark,jdbcType=VARCHAR},
|
Remark = #{remark,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
<result column="EachAmount" jdbcType="DECIMAL" property="eachamount" />
|
<result column="EachAmount" jdbcType="DECIMAL" property="eachamount" />
|
||||||
<result column="Remark" jdbcType="VARCHAR" property="remark" />
|
<result column="Remark" jdbcType="VARCHAR" property="remark" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -85,7 +86,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
Id, HeaderId, AccountId, InOutItemId, EachAmount, Remark, tenant_id
|
Id, HeaderId, AccountId, InOutItemId, EachAmount, Remark, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AccountItemExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AccountItemExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -140,10 +141,10 @@
|
|||||||
-->
|
-->
|
||||||
insert into jsh_accountitem (Id, HeaderId, AccountId,
|
insert into jsh_accountitem (Id, HeaderId, AccountId,
|
||||||
InOutItemId, EachAmount, Remark,
|
InOutItemId, EachAmount, Remark,
|
||||||
tenant_id)
|
tenant_id, delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{headerid,jdbcType=BIGINT}, #{accountid,jdbcType=BIGINT},
|
values (#{id,jdbcType=BIGINT}, #{headerid,jdbcType=BIGINT}, #{accountid,jdbcType=BIGINT},
|
||||||
#{inoutitemid,jdbcType=BIGINT}, #{eachamount,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR},
|
#{inoutitemid,jdbcType=BIGINT}, #{eachamount,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR},
|
||||||
#{tenantId,jdbcType=BIGINT})
|
#{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.AccountItem">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.AccountItem">
|
||||||
<!--
|
<!--
|
||||||
@@ -173,6 +174,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -196,6 +200,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AccountItemExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AccountItemExample" resultType="java.lang.Integer">
|
||||||
@@ -236,6 +243,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -253,7 +263,8 @@
|
|||||||
InOutItemId = #{record.inoutitemid,jdbcType=BIGINT},
|
InOutItemId = #{record.inoutitemid,jdbcType=BIGINT},
|
||||||
EachAmount = #{record.eachamount,jdbcType=DECIMAL},
|
EachAmount = #{record.eachamount,jdbcType=DECIMAL},
|
||||||
Remark = #{record.remark,jdbcType=VARCHAR},
|
Remark = #{record.remark,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -283,6 +294,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -297,7 +311,8 @@
|
|||||||
InOutItemId = #{inoutitemid,jdbcType=BIGINT},
|
InOutItemId = #{inoutitemid,jdbcType=BIGINT},
|
||||||
EachAmount = #{eachamount,jdbcType=DECIMAL},
|
EachAmount = #{eachamount,jdbcType=DECIMAL},
|
||||||
Remark = #{remark,jdbcType=VARCHAR},
|
Remark = #{remark,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -14,6 +14,7 @@
|
|||||||
<result column="Remark" jdbcType="VARCHAR" property="remark" />
|
<result column="Remark" jdbcType="VARCHAR" property="remark" />
|
||||||
<result column="IsDefault" jdbcType="BIT" property="isdefault" />
|
<result column="IsDefault" jdbcType="BIT" property="isdefault" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -86,7 +87,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
Id, Name, SerialNo, InitialAmount, CurrentAmount, Remark, IsDefault, tenant_id
|
Id, Name, SerialNo, InitialAmount, CurrentAmount, Remark, IsDefault, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AccountExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AccountExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -141,10 +142,12 @@
|
|||||||
-->
|
-->
|
||||||
insert into jsh_account (Id, Name, SerialNo,
|
insert into jsh_account (Id, Name, SerialNo,
|
||||||
InitialAmount, CurrentAmount, Remark,
|
InitialAmount, CurrentAmount, Remark,
|
||||||
IsDefault, tenant_id)
|
IsDefault, tenant_id, delete_Flag
|
||||||
|
)
|
||||||
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{serialno,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{serialno,jdbcType=VARCHAR},
|
||||||
#{initialamount,jdbcType=DECIMAL}, #{currentamount,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR},
|
#{initialamount,jdbcType=DECIMAL}, #{currentamount,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR},
|
||||||
#{isdefault,jdbcType=BIT}, #{tenantId,jdbcType=BIGINT})
|
#{isdefault,jdbcType=BIT}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}
|
||||||
|
)
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Account">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Account">
|
||||||
<!--
|
<!--
|
||||||
@@ -177,6 +180,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -203,6 +209,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AccountExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AccountExample" resultType="java.lang.Integer">
|
||||||
@@ -246,6 +255,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -264,7 +276,8 @@
|
|||||||
CurrentAmount = #{record.currentamount,jdbcType=DECIMAL},
|
CurrentAmount = #{record.currentamount,jdbcType=DECIMAL},
|
||||||
Remark = #{record.remark,jdbcType=VARCHAR},
|
Remark = #{record.remark,jdbcType=VARCHAR},
|
||||||
IsDefault = #{record.isdefault,jdbcType=BIT},
|
IsDefault = #{record.isdefault,jdbcType=BIT},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -297,6 +310,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -312,7 +328,8 @@
|
|||||||
CurrentAmount = #{currentamount,jdbcType=DECIMAL},
|
CurrentAmount = #{currentamount,jdbcType=DECIMAL},
|
||||||
Remark = #{remark,jdbcType=VARCHAR},
|
Remark = #{remark,jdbcType=VARCHAR},
|
||||||
IsDefault = #{isdefault,jdbcType=BIT},
|
IsDefault = #{isdefault,jdbcType=BIT},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -21,6 +21,7 @@
|
|||||||
<result column="Sort" jdbcType="VARCHAR" property="sort" />
|
<result column="Sort" jdbcType="VARCHAR" property="sort" />
|
||||||
<result column="Remark" jdbcType="VARCHAR" property="remark" />
|
<result column="Remark" jdbcType="VARCHAR" property="remark" />
|
||||||
<result column="Enabled" jdbcType="BIT" property="enabled" />
|
<result column="Enabled" jdbcType="BIT" property="enabled" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -94,7 +95,7 @@
|
|||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
Id, Number, Name, Type, Icon, URL, Width, Height, ReSize, OpenMax, Flash, ZL, Sort,
|
Id, Number, Name, Type, Icon, URL, Width, Height, ReSize, OpenMax, Flash, ZL, Sort,
|
||||||
Remark, Enabled
|
Remark, Enabled, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AppExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AppExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -150,13 +151,13 @@
|
|||||||
insert into jsh_app (Id, Number, Name,
|
insert into jsh_app (Id, Number, Name,
|
||||||
Type, Icon, URL, Width,
|
Type, Icon, URL, Width,
|
||||||
Height, ReSize, OpenMax, Flash,
|
Height, ReSize, OpenMax, Flash,
|
||||||
ZL, Sort, Remark, Enabled
|
ZL, Sort, Remark, Enabled,
|
||||||
)
|
delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{number,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{number,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
||||||
#{type,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{width,jdbcType=VARCHAR},
|
#{type,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{width,jdbcType=VARCHAR},
|
||||||
#{height,jdbcType=VARCHAR}, #{resize,jdbcType=BIT}, #{openmax,jdbcType=BIT}, #{flash,jdbcType=BIT},
|
#{height,jdbcType=VARCHAR}, #{resize,jdbcType=BIT}, #{openmax,jdbcType=BIT}, #{flash,jdbcType=BIT},
|
||||||
#{zl,jdbcType=VARCHAR}, #{sort,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT}
|
#{zl,jdbcType=VARCHAR}, #{sort,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT},
|
||||||
)
|
#{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.App">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.App">
|
||||||
<!--
|
<!--
|
||||||
@@ -210,6 +211,9 @@
|
|||||||
<if test="enabled != null">
|
<if test="enabled != null">
|
||||||
Enabled,
|
Enabled,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -257,6 +261,9 @@
|
|||||||
<if test="enabled != null">
|
<if test="enabled != null">
|
||||||
#{enabled,jdbcType=BIT},
|
#{enabled,jdbcType=BIT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AppExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AppExample" resultType="java.lang.Integer">
|
||||||
@@ -321,6 +328,9 @@
|
|||||||
<if test="record.enabled != null">
|
<if test="record.enabled != null">
|
||||||
Enabled = #{record.enabled,jdbcType=BIT},
|
Enabled = #{record.enabled,jdbcType=BIT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -346,7 +356,8 @@
|
|||||||
ZL = #{record.zl,jdbcType=VARCHAR},
|
ZL = #{record.zl,jdbcType=VARCHAR},
|
||||||
Sort = #{record.sort,jdbcType=VARCHAR},
|
Sort = #{record.sort,jdbcType=VARCHAR},
|
||||||
Remark = #{record.remark,jdbcType=VARCHAR},
|
Remark = #{record.remark,jdbcType=VARCHAR},
|
||||||
Enabled = #{record.enabled,jdbcType=BIT}
|
Enabled = #{record.enabled,jdbcType=BIT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -400,6 +411,9 @@
|
|||||||
<if test="enabled != null">
|
<if test="enabled != null">
|
||||||
Enabled = #{enabled,jdbcType=BIT},
|
Enabled = #{enabled,jdbcType=BIT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -422,7 +436,8 @@
|
|||||||
ZL = #{zl,jdbcType=VARCHAR},
|
ZL = #{zl,jdbcType=VARCHAR},
|
||||||
Sort = #{sort,jdbcType=VARCHAR},
|
Sort = #{sort,jdbcType=VARCHAR},
|
||||||
Remark = #{remark,jdbcType=VARCHAR},
|
Remark = #{remark,jdbcType=VARCHAR},
|
||||||
Enabled = #{enabled,jdbcType=BIT}
|
Enabled = #{enabled,jdbcType=BIT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
<result column="isystem" jdbcType="TINYINT" property="isystem" />
|
<result column="isystem" jdbcType="TINYINT" property="isystem" />
|
||||||
<result column="description" jdbcType="VARCHAR" property="description" />
|
<result column="description" jdbcType="VARCHAR" property="description" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -83,7 +84,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
id, assetname, isystem, description, tenant_id
|
id, assetname, isystem, description, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AssetCategoryExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AssetCategoryExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -137,9 +138,11 @@
|
|||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
insert into jsh_assetcategory (id, assetname, isystem,
|
insert into jsh_assetcategory (id, assetname, isystem,
|
||||||
description, tenant_id)
|
description, tenant_id, delete_Flag
|
||||||
|
)
|
||||||
values (#{id,jdbcType=BIGINT}, #{assetname,jdbcType=VARCHAR}, #{isystem,jdbcType=TINYINT},
|
values (#{id,jdbcType=BIGINT}, #{assetname,jdbcType=VARCHAR}, #{isystem,jdbcType=TINYINT},
|
||||||
#{description,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT})
|
#{description,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}
|
||||||
|
)
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.AssetCategory">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.AssetCategory">
|
||||||
<!--
|
<!--
|
||||||
@@ -163,6 +166,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -180,6 +186,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AssetCategoryExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AssetCategoryExample" resultType="java.lang.Integer">
|
||||||
@@ -214,6 +223,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -229,7 +241,8 @@
|
|||||||
assetname = #{record.assetname,jdbcType=VARCHAR},
|
assetname = #{record.assetname,jdbcType=VARCHAR},
|
||||||
isystem = #{record.isystem,jdbcType=TINYINT},
|
isystem = #{record.isystem,jdbcType=TINYINT},
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -253,6 +266,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -265,7 +281,8 @@
|
|||||||
set assetname = #{assetname,jdbcType=VARCHAR},
|
set assetname = #{assetname,jdbcType=VARCHAR},
|
||||||
isystem = #{isystem,jdbcType=TINYINT},
|
isystem = #{isystem,jdbcType=TINYINT},
|
||||||
description = #{description,jdbcType=VARCHAR},
|
description = #{description,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -24,6 +24,7 @@
|
|||||||
<result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" />
|
<result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" />
|
||||||
<result column="updator" jdbcType="BIGINT" property="updator" />
|
<result column="updator" jdbcType="BIGINT" property="updator" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.jsh.erp.datasource.entities.Asset">
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.jsh.erp.datasource.entities.Asset">
|
||||||
<!--
|
<!--
|
||||||
@@ -106,7 +107,7 @@
|
|||||||
-->
|
-->
|
||||||
id, assetnameID, location, labels, status, userID, price, purchasedate, periodofvalidity,
|
id, assetnameID, location, labels, status, userID, price, purchasedate, periodofvalidity,
|
||||||
warrantydate, assetnum, serialnum, supplier, createtime, creator, updatetime, updator,
|
warrantydate, assetnum, serialnum, supplier, createtime, creator, updatetime, updator,
|
||||||
tenant_id
|
tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Blob_Column_List">
|
<sql id="Blob_Column_List">
|
||||||
<!--
|
<!--
|
||||||
@@ -194,14 +195,16 @@
|
|||||||
warrantydate, assetnum, serialnum,
|
warrantydate, assetnum, serialnum,
|
||||||
supplier, createtime, creator,
|
supplier, createtime, creator,
|
||||||
updatetime, updator, tenant_id,
|
updatetime, updator, tenant_id,
|
||||||
description, addMonth)
|
delete_Flag, description, addMonth
|
||||||
|
)
|
||||||
values (#{id,jdbcType=BIGINT}, #{assetnameid,jdbcType=BIGINT}, #{location,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{assetnameid,jdbcType=BIGINT}, #{location,jdbcType=VARCHAR},
|
||||||
#{labels,jdbcType=VARCHAR}, #{status,jdbcType=SMALLINT}, #{userid,jdbcType=BIGINT},
|
#{labels,jdbcType=VARCHAR}, #{status,jdbcType=SMALLINT}, #{userid,jdbcType=BIGINT},
|
||||||
#{price,jdbcType=DECIMAL}, #{purchasedate,jdbcType=TIMESTAMP}, #{periodofvalidity,jdbcType=TIMESTAMP},
|
#{price,jdbcType=DECIMAL}, #{purchasedate,jdbcType=TIMESTAMP}, #{periodofvalidity,jdbcType=TIMESTAMP},
|
||||||
#{warrantydate,jdbcType=TIMESTAMP}, #{assetnum,jdbcType=VARCHAR}, #{serialnum,jdbcType=VARCHAR},
|
#{warrantydate,jdbcType=TIMESTAMP}, #{assetnum,jdbcType=VARCHAR}, #{serialnum,jdbcType=VARCHAR},
|
||||||
#{supplier,jdbcType=BIGINT}, #{createtime,jdbcType=TIMESTAMP}, #{creator,jdbcType=BIGINT},
|
#{supplier,jdbcType=BIGINT}, #{createtime,jdbcType=TIMESTAMP}, #{creator,jdbcType=BIGINT},
|
||||||
#{updatetime,jdbcType=TIMESTAMP}, #{updator,jdbcType=BIGINT}, #{tenantId,jdbcType=BIGINT},
|
#{updatetime,jdbcType=TIMESTAMP}, #{updator,jdbcType=BIGINT}, #{tenantId,jdbcType=BIGINT},
|
||||||
#{description,jdbcType=LONGVARCHAR}, #{addmonth,jdbcType=LONGVARCHAR})
|
#{deleteFlag,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{addmonth,jdbcType=LONGVARCHAR}
|
||||||
|
)
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Asset">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Asset">
|
||||||
<!--
|
<!--
|
||||||
@@ -264,6 +267,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
<if test="description != null">
|
<if test="description != null">
|
||||||
description,
|
description,
|
||||||
</if>
|
</if>
|
||||||
@@ -326,6 +332,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="description != null">
|
<if test="description != null">
|
||||||
#{description,jdbcType=LONGVARCHAR},
|
#{description,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -405,6 +414,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="record.description != null">
|
<if test="record.description != null">
|
||||||
description = #{record.description,jdbcType=LONGVARCHAR},
|
description = #{record.description,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -440,6 +452,7 @@
|
|||||||
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
||||||
updator = #{record.updator,jdbcType=BIGINT},
|
updator = #{record.updator,jdbcType=BIGINT},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
description = #{record.description,jdbcType=LONGVARCHAR},
|
description = #{record.description,jdbcType=LONGVARCHAR},
|
||||||
addMonth = #{record.addmonth,jdbcType=LONGVARCHAR}
|
addMonth = #{record.addmonth,jdbcType=LONGVARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
@@ -469,7 +482,8 @@
|
|||||||
creator = #{record.creator,jdbcType=BIGINT},
|
creator = #{record.creator,jdbcType=BIGINT},
|
||||||
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
||||||
updator = #{record.updator,jdbcType=BIGINT},
|
updator = #{record.updator,jdbcType=BIGINT},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -532,6 +546,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="description != null">
|
<if test="description != null">
|
||||||
description = #{description,jdbcType=LONGVARCHAR},
|
description = #{description,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -564,6 +581,7 @@
|
|||||||
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
||||||
updator = #{updator,jdbcType=BIGINT},
|
updator = #{updator,jdbcType=BIGINT},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
description = #{description,jdbcType=LONGVARCHAR},
|
description = #{description,jdbcType=LONGVARCHAR},
|
||||||
addMonth = #{addmonth,jdbcType=LONGVARCHAR}
|
addMonth = #{addmonth,jdbcType=LONGVARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
@@ -590,7 +608,8 @@
|
|||||||
creator = #{creator,jdbcType=BIGINT},
|
creator = #{creator,jdbcType=BIGINT},
|
||||||
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
||||||
updator = #{updator,jdbcType=BIGINT},
|
updator = #{updator,jdbcType=BIGINT},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
<result column="isystem" jdbcType="SMALLINT" property="isystem" />
|
<result column="isystem" jdbcType="SMALLINT" property="isystem" />
|
||||||
<result column="isconsumables" jdbcType="SMALLINT" property="isconsumables" />
|
<result column="isconsumables" jdbcType="SMALLINT" property="isconsumables" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.jsh.erp.datasource.entities.AssetName">
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.jsh.erp.datasource.entities.AssetName">
|
||||||
<!--
|
<!--
|
||||||
@@ -91,7 +92,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
id, assetname, assetcategoryID, isystem, isconsumables, tenant_id
|
id, assetname, assetcategoryID, isystem, isconsumables, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Blob_Column_List">
|
<sql id="Blob_Column_List">
|
||||||
<!--
|
<!--
|
||||||
@@ -175,10 +176,10 @@
|
|||||||
-->
|
-->
|
||||||
insert into jsh_assetname (id, assetname, assetcategoryID,
|
insert into jsh_assetname (id, assetname, assetcategoryID,
|
||||||
isystem, isconsumables, tenant_id,
|
isystem, isconsumables, tenant_id,
|
||||||
description)
|
delete_Flag, description)
|
||||||
values (#{id,jdbcType=BIGINT}, #{assetname,jdbcType=VARCHAR}, #{assetcategoryid,jdbcType=BIGINT},
|
values (#{id,jdbcType=BIGINT}, #{assetname,jdbcType=VARCHAR}, #{assetcategoryid,jdbcType=BIGINT},
|
||||||
#{isystem,jdbcType=SMALLINT}, #{isconsumables,jdbcType=SMALLINT}, #{tenantId,jdbcType=BIGINT},
|
#{isystem,jdbcType=SMALLINT}, #{isconsumables,jdbcType=SMALLINT}, #{tenantId,jdbcType=BIGINT},
|
||||||
#{description,jdbcType=LONGVARCHAR})
|
#{deleteFlag,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.AssetName">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.AssetName">
|
||||||
<!--
|
<!--
|
||||||
@@ -205,6 +206,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
<if test="description != null">
|
<if test="description != null">
|
||||||
description,
|
description,
|
||||||
</if>
|
</if>
|
||||||
@@ -228,6 +232,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="description != null">
|
<if test="description != null">
|
||||||
#{description,jdbcType=LONGVARCHAR},
|
#{description,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -268,6 +275,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="record.description != null">
|
<if test="record.description != null">
|
||||||
description = #{record.description,jdbcType=LONGVARCHAR},
|
description = #{record.description,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -288,6 +298,7 @@
|
|||||||
isystem = #{record.isystem,jdbcType=SMALLINT},
|
isystem = #{record.isystem,jdbcType=SMALLINT},
|
||||||
isconsumables = #{record.isconsumables,jdbcType=SMALLINT},
|
isconsumables = #{record.isconsumables,jdbcType=SMALLINT},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
description = #{record.description,jdbcType=LONGVARCHAR}
|
description = #{record.description,jdbcType=LONGVARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -304,7 +315,8 @@
|
|||||||
assetcategoryID = #{record.assetcategoryid,jdbcType=BIGINT},
|
assetcategoryID = #{record.assetcategoryid,jdbcType=BIGINT},
|
||||||
isystem = #{record.isystem,jdbcType=SMALLINT},
|
isystem = #{record.isystem,jdbcType=SMALLINT},
|
||||||
isconsumables = #{record.isconsumables,jdbcType=SMALLINT},
|
isconsumables = #{record.isconsumables,jdbcType=SMALLINT},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -331,6 +343,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="description != null">
|
<if test="description != null">
|
||||||
description = #{description,jdbcType=LONGVARCHAR},
|
description = #{description,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -348,6 +363,7 @@
|
|||||||
isystem = #{isystem,jdbcType=SMALLINT},
|
isystem = #{isystem,jdbcType=SMALLINT},
|
||||||
isconsumables = #{isconsumables,jdbcType=SMALLINT},
|
isconsumables = #{isconsumables,jdbcType=SMALLINT},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
description = #{description,jdbcType=LONGVARCHAR}
|
description = #{description,jdbcType=LONGVARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -361,7 +377,8 @@
|
|||||||
assetcategoryID = #{assetcategoryid,jdbcType=BIGINT},
|
assetcategoryID = #{assetcategoryid,jdbcType=BIGINT},
|
||||||
isystem = #{isystem,jdbcType=SMALLINT},
|
isystem = #{isystem,jdbcType=SMALLINT},
|
||||||
isconsumables = #{isconsumables,jdbcType=SMALLINT},
|
isconsumables = #{isconsumables,jdbcType=SMALLINT},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
<result column="Status" jdbcType="VARCHAR" property="status" />
|
<result column="Status" jdbcType="VARCHAR" property="status" />
|
||||||
<result column="LinkNumber" jdbcType="VARCHAR" property="linknumber" />
|
<result column="LinkNumber" jdbcType="VARCHAR" property="linknumber" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -112,7 +113,7 @@
|
|||||||
OperTime, OrganId, HandsPersonId, AccountId, ChangeAmount, AllocationProjectId, TotalPrice,
|
OperTime, OrganId, HandsPersonId, AccountId, ChangeAmount, AllocationProjectId, TotalPrice,
|
||||||
PayType, Remark, Salesman, AccountIdList, AccountMoneyList, Discount, DiscountMoney,
|
PayType, Remark, Salesman, AccountIdList, AccountMoneyList, Discount, DiscountMoney,
|
||||||
DiscountLastMoney, OtherMoney, OtherMoneyList, OtherMoneyItem, AccountDay, Status,
|
DiscountLastMoney, OtherMoney, OtherMoneyList, OtherMoneyItem, AccountDay, Status,
|
||||||
LinkNumber, tenant_id
|
LinkNumber, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.DepotHeadExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.DepotHeadExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -174,8 +175,8 @@
|
|||||||
AccountIdList, AccountMoneyList, Discount,
|
AccountIdList, AccountMoneyList, Discount,
|
||||||
DiscountMoney, DiscountLastMoney, OtherMoney,
|
DiscountMoney, DiscountLastMoney, OtherMoney,
|
||||||
OtherMoneyList, OtherMoneyItem, AccountDay,
|
OtherMoneyList, OtherMoneyItem, AccountDay,
|
||||||
Status, LinkNumber, tenant_id
|
Status, LinkNumber, tenant_id,
|
||||||
)
|
delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{subtype,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{subtype,jdbcType=VARCHAR},
|
||||||
#{projectid,jdbcType=BIGINT}, #{defaultnumber,jdbcType=VARCHAR}, #{number,jdbcType=VARCHAR},
|
#{projectid,jdbcType=BIGINT}, #{defaultnumber,jdbcType=VARCHAR}, #{number,jdbcType=VARCHAR},
|
||||||
#{operpersonname,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{opertime,jdbcType=TIMESTAMP},
|
#{operpersonname,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{opertime,jdbcType=TIMESTAMP},
|
||||||
@@ -185,8 +186,8 @@
|
|||||||
#{accountidlist,jdbcType=VARCHAR}, #{accountmoneylist,jdbcType=VARCHAR}, #{discount,jdbcType=DECIMAL},
|
#{accountidlist,jdbcType=VARCHAR}, #{accountmoneylist,jdbcType=VARCHAR}, #{discount,jdbcType=DECIMAL},
|
||||||
#{discountmoney,jdbcType=DECIMAL}, #{discountlastmoney,jdbcType=DECIMAL}, #{othermoney,jdbcType=DECIMAL},
|
#{discountmoney,jdbcType=DECIMAL}, #{discountlastmoney,jdbcType=DECIMAL}, #{othermoney,jdbcType=DECIMAL},
|
||||||
#{othermoneylist,jdbcType=VARCHAR}, #{othermoneyitem,jdbcType=VARCHAR}, #{accountday,jdbcType=INTEGER},
|
#{othermoneylist,jdbcType=VARCHAR}, #{othermoneyitem,jdbcType=VARCHAR}, #{accountday,jdbcType=INTEGER},
|
||||||
#{status,jdbcType=VARCHAR}, #{linknumber,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}
|
#{status,jdbcType=VARCHAR}, #{linknumber,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT},
|
||||||
)
|
#{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.DepotHead">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.DepotHead">
|
||||||
<!--
|
<!--
|
||||||
@@ -285,6 +286,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -377,6 +381,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.DepotHeadExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.DepotHeadExample" resultType="java.lang.Integer">
|
||||||
@@ -486,6 +493,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -526,7 +536,8 @@
|
|||||||
AccountDay = #{record.accountday,jdbcType=INTEGER},
|
AccountDay = #{record.accountday,jdbcType=INTEGER},
|
||||||
Status = #{record.status,jdbcType=VARCHAR},
|
Status = #{record.status,jdbcType=VARCHAR},
|
||||||
LinkNumber = #{record.linknumber,jdbcType=VARCHAR},
|
LinkNumber = #{record.linknumber,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -625,6 +636,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -662,7 +676,8 @@
|
|||||||
AccountDay = #{accountday,jdbcType=INTEGER},
|
AccountDay = #{accountday,jdbcType=INTEGER},
|
||||||
Status = #{status,jdbcType=VARCHAR},
|
Status = #{status,jdbcType=VARCHAR},
|
||||||
LinkNumber = #{linknumber,jdbcType=VARCHAR},
|
LinkNumber = #{linknumber,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -30,6 +30,7 @@
|
|||||||
<result column="OtherField5" jdbcType="VARCHAR" property="otherfield5" />
|
<result column="OtherField5" jdbcType="VARCHAR" property="otherfield5" />
|
||||||
<result column="MType" jdbcType="VARCHAR" property="mtype" />
|
<result column="MType" jdbcType="VARCHAR" property="mtype" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -104,7 +105,8 @@
|
|||||||
-->
|
-->
|
||||||
Id, HeaderId, MaterialId, MUnit, OperNumber, BasicNumber, UnitPrice, TaxUnitPrice,
|
Id, HeaderId, MaterialId, MUnit, OperNumber, BasicNumber, UnitPrice, TaxUnitPrice,
|
||||||
AllPrice, Remark, Img, Incidentals, DepotId, AnotherDepotId, TaxRate, TaxMoney, TaxLastMoney,
|
AllPrice, Remark, Img, Incidentals, DepotId, AnotherDepotId, TaxRate, TaxMoney, TaxLastMoney,
|
||||||
OtherField1, OtherField2, OtherField3, OtherField4, OtherField5, MType, tenant_id
|
OtherField1, OtherField2, OtherField3, OtherField4, OtherField5, MType, tenant_id,
|
||||||
|
delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.DepotItemExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.DepotItemExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -164,8 +166,8 @@
|
|||||||
DepotId, AnotherDepotId, TaxRate,
|
DepotId, AnotherDepotId, TaxRate,
|
||||||
TaxMoney, TaxLastMoney, OtherField1,
|
TaxMoney, TaxLastMoney, OtherField1,
|
||||||
OtherField2, OtherField3, OtherField4,
|
OtherField2, OtherField3, OtherField4,
|
||||||
OtherField5, MType, tenant_id
|
OtherField5, MType, tenant_id,
|
||||||
)
|
delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{headerid,jdbcType=BIGINT}, #{materialid,jdbcType=BIGINT},
|
values (#{id,jdbcType=BIGINT}, #{headerid,jdbcType=BIGINT}, #{materialid,jdbcType=BIGINT},
|
||||||
#{munit,jdbcType=VARCHAR}, #{opernumber,jdbcType=DECIMAL}, #{basicnumber,jdbcType=DECIMAL},
|
#{munit,jdbcType=VARCHAR}, #{opernumber,jdbcType=DECIMAL}, #{basicnumber,jdbcType=DECIMAL},
|
||||||
#{unitprice,jdbcType=DECIMAL}, #{taxunitprice,jdbcType=DECIMAL}, #{allprice,jdbcType=DECIMAL},
|
#{unitprice,jdbcType=DECIMAL}, #{taxunitprice,jdbcType=DECIMAL}, #{allprice,jdbcType=DECIMAL},
|
||||||
@@ -173,8 +175,8 @@
|
|||||||
#{depotid,jdbcType=BIGINT}, #{anotherdepotid,jdbcType=BIGINT}, #{taxrate,jdbcType=DECIMAL},
|
#{depotid,jdbcType=BIGINT}, #{anotherdepotid,jdbcType=BIGINT}, #{taxrate,jdbcType=DECIMAL},
|
||||||
#{taxmoney,jdbcType=DECIMAL}, #{taxlastmoney,jdbcType=DECIMAL}, #{otherfield1,jdbcType=VARCHAR},
|
#{taxmoney,jdbcType=DECIMAL}, #{taxlastmoney,jdbcType=DECIMAL}, #{otherfield1,jdbcType=VARCHAR},
|
||||||
#{otherfield2,jdbcType=VARCHAR}, #{otherfield3,jdbcType=VARCHAR}, #{otherfield4,jdbcType=VARCHAR},
|
#{otherfield2,jdbcType=VARCHAR}, #{otherfield3,jdbcType=VARCHAR}, #{otherfield4,jdbcType=VARCHAR},
|
||||||
#{otherfield5,jdbcType=VARCHAR}, #{mtype,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}
|
#{otherfield5,jdbcType=VARCHAR}, #{mtype,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT},
|
||||||
)
|
#{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.DepotItem">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.DepotItem">
|
||||||
<!--
|
<!--
|
||||||
@@ -255,6 +257,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -329,6 +334,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.DepotItemExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.DepotItemExample" resultType="java.lang.Integer">
|
||||||
@@ -420,6 +428,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -454,7 +465,8 @@
|
|||||||
OtherField4 = #{record.otherfield4,jdbcType=VARCHAR},
|
OtherField4 = #{record.otherfield4,jdbcType=VARCHAR},
|
||||||
OtherField5 = #{record.otherfield5,jdbcType=VARCHAR},
|
OtherField5 = #{record.otherfield5,jdbcType=VARCHAR},
|
||||||
MType = #{record.mtype,jdbcType=VARCHAR},
|
MType = #{record.mtype,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -535,6 +547,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -566,7 +581,8 @@
|
|||||||
OtherField4 = #{otherfield4,jdbcType=VARCHAR},
|
OtherField4 = #{otherfield4,jdbcType=VARCHAR},
|
||||||
OtherField5 = #{otherfield5,jdbcType=VARCHAR},
|
OtherField5 = #{otherfield5,jdbcType=VARCHAR},
|
||||||
MType = #{mtype,jdbcType=VARCHAR},
|
MType = #{mtype,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
<result column="remark" jdbcType="VARCHAR" property="remark" />
|
<result column="remark" jdbcType="VARCHAR" property="remark" />
|
||||||
<result column="principal" jdbcType="BIGINT" property="principal" />
|
<result column="principal" jdbcType="BIGINT" property="principal" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -88,7 +89,8 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
id, name, address, warehousing, truckage, type, sort, remark, principal, tenant_id
|
id, name, address, warehousing, truckage, type, sort, remark, principal, tenant_id,
|
||||||
|
delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.DepotExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.DepotExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -144,11 +146,11 @@
|
|||||||
insert into jsh_depot (id, name, address,
|
insert into jsh_depot (id, name, address,
|
||||||
warehousing, truckage, type,
|
warehousing, truckage, type,
|
||||||
sort, remark, principal,
|
sort, remark, principal,
|
||||||
tenant_id)
|
tenant_id, delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR},
|
||||||
#{warehousing,jdbcType=DECIMAL}, #{truckage,jdbcType=DECIMAL}, #{type,jdbcType=INTEGER},
|
#{warehousing,jdbcType=DECIMAL}, #{truckage,jdbcType=DECIMAL}, #{type,jdbcType=INTEGER},
|
||||||
#{sort,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{principal,jdbcType=BIGINT},
|
#{sort,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{principal,jdbcType=BIGINT},
|
||||||
#{tenantId,jdbcType=BIGINT})
|
#{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Depot">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Depot">
|
||||||
<!--
|
<!--
|
||||||
@@ -187,6 +189,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -219,6 +224,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.DepotExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.DepotExample" resultType="java.lang.Integer">
|
||||||
@@ -268,6 +276,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -288,7 +299,8 @@
|
|||||||
sort = #{record.sort,jdbcType=VARCHAR},
|
sort = #{record.sort,jdbcType=VARCHAR},
|
||||||
remark = #{record.remark,jdbcType=VARCHAR},
|
remark = #{record.remark,jdbcType=VARCHAR},
|
||||||
principal = #{record.principal,jdbcType=BIGINT},
|
principal = #{record.principal,jdbcType=BIGINT},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -327,6 +339,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -344,7 +359,8 @@
|
|||||||
sort = #{sort,jdbcType=VARCHAR},
|
sort = #{sort,jdbcType=VARCHAR},
|
||||||
remark = #{remark,jdbcType=VARCHAR},
|
remark = #{remark,jdbcType=VARCHAR},
|
||||||
principal = #{principal,jdbcType=BIGINT},
|
principal = #{principal,jdbcType=BIGINT},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
<select id="getDepotList" parameterType="java.util.Map" resultMap="ResultMapEx">
|
<select id="getDepotList" parameterType="java.util.Map" resultMap="ResultMapEx">
|
||||||
select dep.*,usr.username as principalName
|
select dep.*,usr.username as principalName
|
||||||
FROM jsh_depot dep
|
FROM jsh_depot dep
|
||||||
left join jsh_user usr on usr.id=dep.principal
|
left join jsh_user usr on usr.id=dep.principal and ifnull(usr.status,'0') not in('1','2')
|
||||||
where 1=1
|
where 1=1
|
||||||
<if test="name != null and name != ''">
|
<if test="name != null and name != ''">
|
||||||
<bind name="name" value="'%' + _parameter.name + '%'" />
|
<bind name="name" value="'%' + _parameter.name + '%'" />
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
<result column="Enabled" jdbcType="BIT" property="enabled" />
|
<result column="Enabled" jdbcType="BIT" property="enabled" />
|
||||||
<result column="Type" jdbcType="VARCHAR" property="type" />
|
<result column="Type" jdbcType="VARCHAR" property="type" />
|
||||||
<result column="PushBtn" jdbcType="VARCHAR" property="pushbtn" />
|
<result column="PushBtn" jdbcType="VARCHAR" property="pushbtn" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -88,7 +89,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
Id, Number, Name, PNumber, URL, State, Sort, Enabled, Type, PushBtn
|
Id, Number, Name, PNumber, URL, State, Sort, Enabled, Type, PushBtn, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.FunctionsExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.FunctionsExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -143,10 +144,12 @@
|
|||||||
-->
|
-->
|
||||||
insert into jsh_functions (Id, Number, Name,
|
insert into jsh_functions (Id, Number, Name,
|
||||||
PNumber, URL, State, Sort,
|
PNumber, URL, State, Sort,
|
||||||
Enabled, Type, PushBtn)
|
Enabled, Type, PushBtn,
|
||||||
|
delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{number,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{number,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
||||||
#{pnumber,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{state,jdbcType=BIT}, #{sort,jdbcType=VARCHAR},
|
#{pnumber,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{state,jdbcType=BIT}, #{sort,jdbcType=VARCHAR},
|
||||||
#{enabled,jdbcType=BIT}, #{type,jdbcType=VARCHAR}, #{pushbtn,jdbcType=VARCHAR})
|
#{enabled,jdbcType=BIT}, #{type,jdbcType=VARCHAR}, #{pushbtn,jdbcType=VARCHAR},
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Functions">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Functions">
|
||||||
<!--
|
<!--
|
||||||
@@ -185,6 +188,9 @@
|
|||||||
<if test="pushbtn != null">
|
<if test="pushbtn != null">
|
||||||
PushBtn,
|
PushBtn,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -217,6 +223,9 @@
|
|||||||
<if test="pushbtn != null">
|
<if test="pushbtn != null">
|
||||||
#{pushbtn,jdbcType=VARCHAR},
|
#{pushbtn,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.FunctionsExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.FunctionsExample" resultType="java.lang.Integer">
|
||||||
@@ -266,6 +275,9 @@
|
|||||||
<if test="record.pushbtn != null">
|
<if test="record.pushbtn != null">
|
||||||
PushBtn = #{record.pushbtn,jdbcType=VARCHAR},
|
PushBtn = #{record.pushbtn,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -286,7 +298,8 @@
|
|||||||
Sort = #{record.sort,jdbcType=VARCHAR},
|
Sort = #{record.sort,jdbcType=VARCHAR},
|
||||||
Enabled = #{record.enabled,jdbcType=BIT},
|
Enabled = #{record.enabled,jdbcType=BIT},
|
||||||
Type = #{record.type,jdbcType=VARCHAR},
|
Type = #{record.type,jdbcType=VARCHAR},
|
||||||
PushBtn = #{record.pushbtn,jdbcType=VARCHAR}
|
PushBtn = #{record.pushbtn,jdbcType=VARCHAR},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -325,6 +338,9 @@
|
|||||||
<if test="pushbtn != null">
|
<if test="pushbtn != null">
|
||||||
PushBtn = #{pushbtn,jdbcType=VARCHAR},
|
PushBtn = #{pushbtn,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -342,7 +358,8 @@
|
|||||||
Sort = #{sort,jdbcType=VARCHAR},
|
Sort = #{sort,jdbcType=VARCHAR},
|
||||||
Enabled = #{enabled,jdbcType=BIT},
|
Enabled = #{enabled,jdbcType=BIT},
|
||||||
Type = #{type,jdbcType=VARCHAR},
|
Type = #{type,jdbcType=VARCHAR},
|
||||||
PushBtn = #{pushbtn,jdbcType=VARCHAR}
|
PushBtn = #{pushbtn,jdbcType=VARCHAR},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
<result column="Type" jdbcType="VARCHAR" property="type" />
|
<result column="Type" jdbcType="VARCHAR" property="type" />
|
||||||
<result column="Remark" jdbcType="VARCHAR" property="remark" />
|
<result column="Remark" jdbcType="VARCHAR" property="remark" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -83,7 +84,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
Id, Name, Type, Remark, tenant_id
|
Id, Name, Type, Remark, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.InOutItemExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.InOutItemExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -137,9 +138,11 @@
|
|||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
insert into jsh_inoutitem (Id, Name, Type,
|
insert into jsh_inoutitem (Id, Name, Type,
|
||||||
Remark, tenant_id)
|
Remark, tenant_id, delete_Flag
|
||||||
|
)
|
||||||
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
|
||||||
#{remark,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT})
|
#{remark,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}
|
||||||
|
)
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.InOutItem">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.InOutItem">
|
||||||
<!--
|
<!--
|
||||||
@@ -163,6 +166,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -180,6 +186,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.InOutItemExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.InOutItemExample" resultType="java.lang.Integer">
|
||||||
@@ -214,6 +223,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -229,7 +241,8 @@
|
|||||||
Name = #{record.name,jdbcType=VARCHAR},
|
Name = #{record.name,jdbcType=VARCHAR},
|
||||||
Type = #{record.type,jdbcType=VARCHAR},
|
Type = #{record.type,jdbcType=VARCHAR},
|
||||||
Remark = #{record.remark,jdbcType=VARCHAR},
|
Remark = #{record.remark,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -253,6 +266,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -265,7 +281,8 @@
|
|||||||
set Name = #{name,jdbcType=VARCHAR},
|
set Name = #{name,jdbcType=VARCHAR},
|
||||||
Type = #{type,jdbcType=VARCHAR},
|
Type = #{type,jdbcType=VARCHAR},
|
||||||
Remark = #{remark,jdbcType=VARCHAR},
|
Remark = #{remark,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
<select id="selectByConditionLog" parameterType="com.jsh.erp.datasource.entities.LogExample" resultMap="ResultExMap">
|
<select id="selectByConditionLog" parameterType="com.jsh.erp.datasource.entities.LogExample" resultMap="ResultExMap">
|
||||||
select l.*,u.username userName
|
select l.*,u.username userName
|
||||||
FROM jsh_log l left join jsh_user u
|
FROM jsh_log l
|
||||||
on l.userID = u.id
|
left join jsh_user u on l.userID = u.id and ifnull(u.status,'0') not in('1','2')
|
||||||
where 1=1
|
where 1=1
|
||||||
<if test="operation != null">
|
<if test="operation != null">
|
||||||
and l.operation like '%${operation}%'
|
and l.operation like '%${operation}%'
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
select *
|
select *
|
||||||
FROM jsh_materialcategory
|
FROM jsh_materialcategory
|
||||||
where 1=1
|
where 1=1
|
||||||
|
and ifnull(status,'0') !='2'
|
||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
and name like '%${name}%'
|
and name like '%${name}%'
|
||||||
</if>
|
</if>
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
COUNT(id)
|
COUNT(id)
|
||||||
FROM jsh_materialcategory
|
FROM jsh_materialcategory
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
|
and ifnull(status,'0') !='2'
|
||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
and name like '%${name}%'
|
and name like '%${name}%'
|
||||||
</if>
|
</if>
|
||||||
@@ -56,7 +58,7 @@
|
|||||||
<if test="currentId != null">
|
<if test="currentId != null">
|
||||||
and id !=#{currentId}
|
and id !=#{currentId}
|
||||||
</if>
|
</if>
|
||||||
and status !='2'
|
and ifnull(status,'0') !='2'
|
||||||
order by sort asc
|
order by sort asc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
@@ -65,7 +67,7 @@
|
|||||||
<include refid="Base_Column_List"/>,#{currentId} as currentId
|
<include refid="Base_Column_List"/>,#{currentId} as currentId
|
||||||
FROM jsh_materialcategory
|
FROM jsh_materialcategory
|
||||||
WHERE ParentId = -1
|
WHERE ParentId = -1
|
||||||
and status !='2'
|
and ifnull(status,'0') !='2'
|
||||||
<if test="currentId != null">
|
<if test="currentId != null">
|
||||||
and id !=#{currentId}
|
and id !=#{currentId}
|
||||||
</if>
|
</if>
|
||||||
@@ -103,7 +105,7 @@
|
|||||||
FROM jsh_materialcategory
|
FROM jsh_materialcategory
|
||||||
where 1=1
|
where 1=1
|
||||||
and serial_no=#{serialNo}
|
and serial_no=#{serialNo}
|
||||||
and status !='2'
|
and ifnull(status,'0') !='2'
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -31,6 +31,7 @@
|
|||||||
<result column="OtherField3" jdbcType="VARCHAR" property="otherfield3" />
|
<result column="OtherField3" jdbcType="VARCHAR" property="otherfield3" />
|
||||||
<result column="enableSerialNumber" jdbcType="VARCHAR" property="enableserialnumber" />
|
<result column="enableSerialNumber" jdbcType="VARCHAR" property="enableserialnumber" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -106,7 +107,7 @@
|
|||||||
Id, CategoryId, Name, Mfrs, Packing, SafetyStock, Model, Standard, Color, Unit, Remark,
|
Id, CategoryId, Name, Mfrs, Packing, SafetyStock, Model, Standard, Color, Unit, Remark,
|
||||||
RetailPrice, LowPrice, PresetPriceOne, PresetPriceTwo, UnitId, FirstOutUnit, FirstInUnit,
|
RetailPrice, LowPrice, PresetPriceOne, PresetPriceTwo, UnitId, FirstOutUnit, FirstInUnit,
|
||||||
PriceStrategy, Enabled, OtherField1, OtherField2, OtherField3, enableSerialNumber,
|
PriceStrategy, Enabled, OtherField1, OtherField2, OtherField3, enableSerialNumber,
|
||||||
tenant_id
|
tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.MaterialExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.MaterialExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -167,7 +168,7 @@
|
|||||||
UnitId, FirstOutUnit, FirstInUnit,
|
UnitId, FirstOutUnit, FirstInUnit,
|
||||||
PriceStrategy, Enabled, OtherField1,
|
PriceStrategy, Enabled, OtherField1,
|
||||||
OtherField2, OtherField3, enableSerialNumber,
|
OtherField2, OtherField3, enableSerialNumber,
|
||||||
tenant_id)
|
tenant_id, delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{categoryid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{categoryid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR},
|
||||||
#{mfrs,jdbcType=VARCHAR}, #{packing,jdbcType=DECIMAL}, #{safetystock,jdbcType=DECIMAL},
|
#{mfrs,jdbcType=VARCHAR}, #{packing,jdbcType=DECIMAL}, #{safetystock,jdbcType=DECIMAL},
|
||||||
#{model,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, #{color,jdbcType=VARCHAR},
|
#{model,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, #{color,jdbcType=VARCHAR},
|
||||||
@@ -176,7 +177,7 @@
|
|||||||
#{unitid,jdbcType=BIGINT}, #{firstoutunit,jdbcType=VARCHAR}, #{firstinunit,jdbcType=VARCHAR},
|
#{unitid,jdbcType=BIGINT}, #{firstoutunit,jdbcType=VARCHAR}, #{firstinunit,jdbcType=VARCHAR},
|
||||||
#{pricestrategy,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT}, #{otherfield1,jdbcType=VARCHAR},
|
#{pricestrategy,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT}, #{otherfield1,jdbcType=VARCHAR},
|
||||||
#{otherfield2,jdbcType=VARCHAR}, #{otherfield3,jdbcType=VARCHAR}, #{enableserialnumber,jdbcType=VARCHAR},
|
#{otherfield2,jdbcType=VARCHAR}, #{otherfield3,jdbcType=VARCHAR}, #{enableserialnumber,jdbcType=VARCHAR},
|
||||||
#{tenantId,jdbcType=BIGINT})
|
#{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Material">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Material">
|
||||||
<!--
|
<!--
|
||||||
@@ -260,6 +261,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -337,6 +341,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.MaterialExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.MaterialExample" resultType="java.lang.Integer">
|
||||||
@@ -431,6 +438,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -466,7 +476,8 @@
|
|||||||
OtherField2 = #{record.otherfield2,jdbcType=VARCHAR},
|
OtherField2 = #{record.otherfield2,jdbcType=VARCHAR},
|
||||||
OtherField3 = #{record.otherfield3,jdbcType=VARCHAR},
|
OtherField3 = #{record.otherfield3,jdbcType=VARCHAR},
|
||||||
enableSerialNumber = #{record.enableserialnumber,jdbcType=VARCHAR},
|
enableSerialNumber = #{record.enableserialnumber,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -550,6 +561,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -582,7 +596,8 @@
|
|||||||
OtherField2 = #{otherfield2,jdbcType=VARCHAR},
|
OtherField2 = #{otherfield2,jdbcType=VARCHAR},
|
||||||
OtherField3 = #{otherfield3,jdbcType=VARCHAR},
|
OtherField3 = #{otherfield3,jdbcType=VARCHAR},
|
||||||
enableSerialNumber = #{enableserialnumber,jdbcType=VARCHAR},
|
enableSerialNumber = #{enableserialnumber,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
<result column="enabled" jdbcType="BIT" property="enabled" />
|
<result column="enabled" jdbcType="BIT" property="enabled" />
|
||||||
<result column="sort" jdbcType="VARCHAR" property="sort" />
|
<result column="sort" jdbcType="VARCHAR" property="sort" />
|
||||||
<result column="anotherName" jdbcType="VARCHAR" property="anothername" />
|
<result column="anotherName" jdbcType="VARCHAR" property="anothername" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -83,7 +84,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
id, nativeName, enabled, sort, anotherName
|
id, nativeName, enabled, sort, anotherName, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.MaterialPropertyExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.MaterialPropertyExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -137,9 +138,11 @@
|
|||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
insert into jsh_materialproperty (id, nativeName, enabled,
|
insert into jsh_materialproperty (id, nativeName, enabled,
|
||||||
sort, anotherName)
|
sort, anotherName, delete_Flag
|
||||||
|
)
|
||||||
values (#{id,jdbcType=BIGINT}, #{nativename,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT},
|
values (#{id,jdbcType=BIGINT}, #{nativename,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT},
|
||||||
#{sort,jdbcType=VARCHAR}, #{anothername,jdbcType=VARCHAR})
|
#{sort,jdbcType=VARCHAR}, #{anothername,jdbcType=VARCHAR}, #{deleteFlag,jdbcType=VARCHAR}
|
||||||
|
)
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.MaterialProperty">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.MaterialProperty">
|
||||||
<!--
|
<!--
|
||||||
@@ -163,6 +166,9 @@
|
|||||||
<if test="anothername != null">
|
<if test="anothername != null">
|
||||||
anotherName,
|
anotherName,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -180,6 +186,9 @@
|
|||||||
<if test="anothername != null">
|
<if test="anothername != null">
|
||||||
#{anothername,jdbcType=VARCHAR},
|
#{anothername,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.MaterialPropertyExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.MaterialPropertyExample" resultType="java.lang.Integer">
|
||||||
@@ -214,6 +223,9 @@
|
|||||||
<if test="record.anothername != null">
|
<if test="record.anothername != null">
|
||||||
anotherName = #{record.anothername,jdbcType=VARCHAR},
|
anotherName = #{record.anothername,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -229,7 +241,8 @@
|
|||||||
nativeName = #{record.nativename,jdbcType=VARCHAR},
|
nativeName = #{record.nativename,jdbcType=VARCHAR},
|
||||||
enabled = #{record.enabled,jdbcType=BIT},
|
enabled = #{record.enabled,jdbcType=BIT},
|
||||||
sort = #{record.sort,jdbcType=VARCHAR},
|
sort = #{record.sort,jdbcType=VARCHAR},
|
||||||
anotherName = #{record.anothername,jdbcType=VARCHAR}
|
anotherName = #{record.anothername,jdbcType=VARCHAR},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -253,6 +266,9 @@
|
|||||||
<if test="anothername != null">
|
<if test="anothername != null">
|
||||||
anotherName = #{anothername,jdbcType=VARCHAR},
|
anotherName = #{anothername,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -265,7 +281,8 @@
|
|||||||
set nativeName = #{nativename,jdbcType=VARCHAR},
|
set nativeName = #{nativename,jdbcType=VARCHAR},
|
||||||
enabled = #{enabled,jdbcType=BIT},
|
enabled = #{enabled,jdbcType=BIT},
|
||||||
sort = #{sort,jdbcType=VARCHAR},
|
sort = #{sort,jdbcType=VARCHAR},
|
||||||
anotherName = #{anothername,jdbcType=VARCHAR}
|
anotherName = #{anothername,jdbcType=VARCHAR},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
<if test="currentId != null">
|
<if test="currentId != null">
|
||||||
and id !=#{currentId}
|
and id !=#{currentId}
|
||||||
</if>
|
</if>
|
||||||
and org_stcd !='5'
|
and ifnull(org_stcd,'0') !='5'
|
||||||
order by sort asc
|
order by sort asc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
<if test="currentId != null">
|
<if test="currentId != null">
|
||||||
and id !=#{currentId}
|
and id !=#{currentId}
|
||||||
</if>
|
</if>
|
||||||
and org_stcd !='5'
|
and ifnull(org_stcd,'0') !='5'
|
||||||
order by sort asc
|
order by sort asc
|
||||||
</select>
|
</select>
|
||||||
<insert id="addOrganization" parameterType="com.jsh.erp.datasource.entities.Organization"
|
<insert id="addOrganization" parameterType="com.jsh.erp.datasource.entities.Organization"
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
select * from jsh_organization
|
select * from jsh_organization
|
||||||
where
|
where
|
||||||
1=1
|
1=1
|
||||||
and org_stcd!='5'
|
and ifnull(org_stcd,'0') !='5'
|
||||||
and org_parent_no='-1'
|
and org_parent_no='-1'
|
||||||
and org_abr='根机构'
|
and org_abr='根机构'
|
||||||
and id in (
|
and id in (
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
<result column="Type" jdbcType="VARCHAR" property="type" />
|
<result column="Type" jdbcType="VARCHAR" property="type" />
|
||||||
<result column="Name" jdbcType="VARCHAR" property="name" />
|
<result column="Name" jdbcType="VARCHAR" property="name" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -82,7 +83,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
Id, Type, Name, tenant_id
|
Id, Type, Name, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.PersonExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.PersonExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -136,9 +137,9 @@
|
|||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
insert into jsh_person (Id, Type, Name,
|
insert into jsh_person (Id, Type, Name,
|
||||||
tenant_id)
|
tenant_id, delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
||||||
#{tenantId,jdbcType=BIGINT})
|
#{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Person">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Person">
|
||||||
<!--
|
<!--
|
||||||
@@ -159,6 +160,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -173,6 +177,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.PersonExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.PersonExample" resultType="java.lang.Integer">
|
||||||
@@ -204,6 +211,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -218,7 +228,8 @@
|
|||||||
set Id = #{record.id,jdbcType=BIGINT},
|
set Id = #{record.id,jdbcType=BIGINT},
|
||||||
Type = #{record.type,jdbcType=VARCHAR},
|
Type = #{record.type,jdbcType=VARCHAR},
|
||||||
Name = #{record.name,jdbcType=VARCHAR},
|
Name = #{record.name,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -239,6 +250,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -250,7 +264,8 @@
|
|||||||
update jsh_person
|
update jsh_person
|
||||||
set Type = #{type,jdbcType=VARCHAR},
|
set Type = #{type,jdbcType=VARCHAR},
|
||||||
Name = #{name,jdbcType=VARCHAR},
|
Name = #{name,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
<result column="value" jdbcType="VARCHAR" property="value" />
|
<result column="value" jdbcType="VARCHAR" property="value" />
|
||||||
<result column="description" jdbcType="VARCHAR" property="description" />
|
<result column="description" jdbcType="VARCHAR" property="description" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -84,7 +85,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
Id, Name, type, value, description, tenant_id
|
Id, Name, type, value, description, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.RoleExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.RoleExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -138,11 +139,11 @@
|
|||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
insert into jsh_role (Id, Name, type,
|
insert into jsh_role (Id, Name, type,
|
||||||
value, description, tenant_id
|
value, description, tenant_id,
|
||||||
)
|
delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
|
||||||
#{value,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}
|
#{value,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT},
|
||||||
)
|
#{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Role">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Role">
|
||||||
<!--
|
<!--
|
||||||
@@ -169,6 +170,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -189,6 +193,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.RoleExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.RoleExample" resultType="java.lang.Integer">
|
||||||
@@ -226,6 +233,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -242,7 +252,8 @@
|
|||||||
type = #{record.type,jdbcType=VARCHAR},
|
type = #{record.type,jdbcType=VARCHAR},
|
||||||
value = #{record.value,jdbcType=VARCHAR},
|
value = #{record.value,jdbcType=VARCHAR},
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -269,6 +280,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -282,7 +296,8 @@
|
|||||||
type = #{type,jdbcType=VARCHAR},
|
type = #{type,jdbcType=VARCHAR},
|
||||||
value = #{value,jdbcType=VARCHAR},
|
value = #{value,jdbcType=VARCHAR},
|
||||||
description = #{description,jdbcType=VARCHAR},
|
description = #{description,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -26,6 +26,7 @@
|
|||||||
<bind name="materialName" value="'%' + _parameter.materialName + '%'" />
|
<bind name="materialName" value="'%' + _parameter.materialName + '%'" />
|
||||||
and mat.name like #{materialName}
|
and mat.name like #{materialName}
|
||||||
</if>
|
</if>
|
||||||
|
and ifnull(ser.delete_Flag,'0') !='1'
|
||||||
order by ser.id desc
|
order by ser.id desc
|
||||||
<if test="offset != null and rows != null">
|
<if test="offset != null and rows != null">
|
||||||
limit #{offset},#{rows}
|
limit #{offset},#{rows}
|
||||||
@@ -45,6 +46,7 @@
|
|||||||
<bind name="materialName" value="'%' + _parameter.materialName + '%'" />
|
<bind name="materialName" value="'%' + _parameter.materialName + '%'" />
|
||||||
and mat.name like #{materialName}
|
and mat.name like #{materialName}
|
||||||
</if>
|
</if>
|
||||||
|
and ifnull(ser.delete_Flag,'0') !='1'
|
||||||
order by ser.id desc
|
order by ser.id desc
|
||||||
</select>
|
</select>
|
||||||
<select id="findById" resultMap="SerialNumberExBaseResultMap">
|
<select id="findById" resultMap="SerialNumberExBaseResultMap">
|
||||||
@@ -54,10 +56,11 @@
|
|||||||
ur.username as updaterName,ser.depothead_Id
|
ur.username as updaterName,ser.depothead_Id
|
||||||
FROM jsh_serial_number ser
|
FROM jsh_serial_number ser
|
||||||
left JOIN jsh_material mat on mat.id = ser.material_Id
|
left JOIN jsh_material mat on mat.id = ser.material_Id
|
||||||
left join jsh_user cr on ser.creator=cr.id
|
left join jsh_user cr on ser.creator=cr.id and ifnull(cr.status,'0') not in('1','2')
|
||||||
left join jsh_user ur on ser.updater=ur.id
|
left join jsh_user ur on ser.updater=ur.id and ifnull(ur.status,'0') not in('1','2')
|
||||||
where 1=1
|
where 1=1
|
||||||
and ser.id=#{id}
|
and ser.id=#{id}
|
||||||
|
and ifnull(ser.delete_Flag,'0') !='1'
|
||||||
order by ser.id desc
|
order by ser.id desc
|
||||||
</select>
|
</select>
|
||||||
<select id="findBySerialNumber" resultMap="SerialNumberExBaseResultMap">
|
<select id="findBySerialNumber" resultMap="SerialNumberExBaseResultMap">
|
||||||
@@ -69,6 +72,7 @@
|
|||||||
<if test="serialNumber != null">
|
<if test="serialNumber != null">
|
||||||
and ser.serial_Number=#{serialNumber}
|
and ser.serial_Number=#{serialNumber}
|
||||||
</if>
|
</if>
|
||||||
|
and ifnull(ser.delete_Flag,'0') !='1'
|
||||||
order by ser.id desc
|
order by ser.id desc
|
||||||
</select>
|
</select>
|
||||||
<insert id="addSerialNumber" parameterType="com.jsh.erp.datasource.entities.SerialNumberEx"
|
<insert id="addSerialNumber" parameterType="com.jsh.erp.datasource.entities.SerialNumberEx"
|
||||||
@@ -120,7 +124,7 @@
|
|||||||
<if test="materialId != null">
|
<if test="materialId != null">
|
||||||
and ser.material_Id=#{materialId}
|
and ser.material_Id=#{materialId}
|
||||||
</if>
|
</if>
|
||||||
and ser.delete_Flag !='1'
|
and ifnull(ser.delete_Flag,'0') !='1'
|
||||||
and ser.is_Sell !='1'
|
and ser.is_Sell !='1'
|
||||||
</select>
|
</select>
|
||||||
<select id="countSerialNumberByMaterialIdAndDepotheadId" resultType="java.lang.Integer">
|
<select id="countSerialNumberByMaterialIdAndDepotheadId" resultType="java.lang.Integer">
|
||||||
@@ -135,7 +139,7 @@
|
|||||||
and ser.depothead_Id=#{depotheadId}
|
and ser.depothead_Id=#{depotheadId}
|
||||||
</if>
|
</if>
|
||||||
and ser.is_Sell =#{isSell,jdbcType=VARCHAR}
|
and ser.is_Sell =#{isSell,jdbcType=VARCHAR}
|
||||||
and ser.delete_Flag !='1'
|
and ifnull(ser.delete_Flag,'0') !='1'
|
||||||
</select>
|
</select>
|
||||||
<update id="sellSerialNumber">
|
<update id="sellSerialNumber">
|
||||||
update jsh_serial_number
|
update jsh_serial_number
|
||||||
@@ -156,6 +160,7 @@
|
|||||||
and material_Id = #{materialId}
|
and material_Id = #{materialId}
|
||||||
</if>
|
</if>
|
||||||
and is_Sell != '1'
|
and is_Sell != '1'
|
||||||
|
and ifnull(delete_Flag,'0') !='1'
|
||||||
<if test="count != null">
|
<if test="count != null">
|
||||||
and id in
|
and id in
|
||||||
( select batchSN.id from
|
( select batchSN.id from
|
||||||
@@ -165,6 +170,7 @@
|
|||||||
and selFrom.material_Id = #{materialId}
|
and selFrom.material_Id = #{materialId}
|
||||||
</if>
|
</if>
|
||||||
and selFrom.is_Sell != '1'
|
and selFrom.is_Sell != '1'
|
||||||
|
and ifnull(selFrom.delete_Flag,'0') !='1'
|
||||||
limit 0,#{count}
|
limit 0,#{count}
|
||||||
) batchSN
|
) batchSN
|
||||||
)
|
)
|
||||||
@@ -190,6 +196,7 @@
|
|||||||
and depothead_Id = #{depotheadId,jdbcType=BIGINT}
|
and depothead_Id = #{depotheadId,jdbcType=BIGINT}
|
||||||
</if>
|
</if>
|
||||||
and is_Sell != '0'
|
and is_Sell != '0'
|
||||||
|
and ifnull(delete_Flag,'0') !='1'
|
||||||
<if test="count != null">
|
<if test="count != null">
|
||||||
and id in
|
and id in
|
||||||
( select batchSN.id from
|
( select batchSN.id from
|
||||||
@@ -202,6 +209,7 @@
|
|||||||
and selFrom.depothead_Id = #{depotheadId,jdbcType=BIGINT}
|
and selFrom.depothead_Id = #{depotheadId,jdbcType=BIGINT}
|
||||||
</if>
|
</if>
|
||||||
and selFrom.is_Sell !='0'
|
and selFrom.is_Sell !='0'
|
||||||
|
and ifnull(selFrom.delete_Flag,'0') !='1'
|
||||||
limit 0,#{count}
|
limit 0,#{count}
|
||||||
) batchSN
|
) batchSN
|
||||||
)
|
)
|
||||||
@@ -219,6 +227,17 @@
|
|||||||
)
|
)
|
||||||
</foreach>
|
</foreach>
|
||||||
</insert>
|
</insert>
|
||||||
|
<update id="batchDeleteSerialNumberByIds">
|
||||||
|
update jsh_serial_number
|
||||||
|
set update_Time=#{updateTime},updater=#{updater},delete_Flag='1'
|
||||||
|
where 1=1
|
||||||
|
and ifnull(delete_Flag,'0') !='1'
|
||||||
|
and id in (
|
||||||
|
<foreach collection="ids" item="id" separator=",">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
)
|
||||||
|
</update>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
<result column="accountNumber" jdbcType="VARCHAR" property="accountnumber" />
|
<result column="accountNumber" jdbcType="VARCHAR" property="accountnumber" />
|
||||||
<result column="taxRate" jdbcType="DECIMAL" property="taxrate" />
|
<result column="taxRate" jdbcType="DECIMAL" property="taxrate" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -102,7 +103,7 @@
|
|||||||
-->
|
-->
|
||||||
id, supplier, contacts, phonenum, email, description, isystem, type, enabled, AdvanceIn,
|
id, supplier, contacts, phonenum, email, description, isystem, type, enabled, AdvanceIn,
|
||||||
BeginNeedGet, BeginNeedPay, AllNeedGet, AllNeedPay, fax, telephone, address, taxNum,
|
BeginNeedGet, BeginNeedPay, AllNeedGet, AllNeedPay, fax, telephone, address, taxNum,
|
||||||
bankName, accountNumber, taxRate, tenant_id
|
bankName, accountNumber, taxRate, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.SupplierExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.SupplierExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -162,7 +163,7 @@
|
|||||||
AllNeedGet, AllNeedPay, fax,
|
AllNeedGet, AllNeedPay, fax,
|
||||||
telephone, address, taxNum,
|
telephone, address, taxNum,
|
||||||
bankName, accountNumber, taxRate,
|
bankName, accountNumber, taxRate,
|
||||||
tenant_id)
|
tenant_id, delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{supplier,jdbcType=VARCHAR}, #{contacts,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{supplier,jdbcType=VARCHAR}, #{contacts,jdbcType=VARCHAR},
|
||||||
#{phonenum,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR},
|
#{phonenum,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR},
|
||||||
#{isystem,jdbcType=TINYINT}, #{type,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT},
|
#{isystem,jdbcType=TINYINT}, #{type,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT},
|
||||||
@@ -170,7 +171,7 @@
|
|||||||
#{allneedget,jdbcType=DECIMAL}, #{allneedpay,jdbcType=DECIMAL}, #{fax,jdbcType=VARCHAR},
|
#{allneedget,jdbcType=DECIMAL}, #{allneedpay,jdbcType=DECIMAL}, #{fax,jdbcType=VARCHAR},
|
||||||
#{telephone,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{taxnum,jdbcType=VARCHAR},
|
#{telephone,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{taxnum,jdbcType=VARCHAR},
|
||||||
#{bankname,jdbcType=VARCHAR}, #{accountnumber,jdbcType=VARCHAR}, #{taxrate,jdbcType=DECIMAL},
|
#{bankname,jdbcType=VARCHAR}, #{accountnumber,jdbcType=VARCHAR}, #{taxrate,jdbcType=DECIMAL},
|
||||||
#{tenantId,jdbcType=BIGINT})
|
#{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Supplier">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Supplier">
|
||||||
<!--
|
<!--
|
||||||
@@ -245,6 +246,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -313,6 +317,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.SupplierExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.SupplierExample" resultType="java.lang.Integer">
|
||||||
@@ -398,6 +405,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -430,7 +440,8 @@
|
|||||||
bankName = #{record.bankname,jdbcType=VARCHAR},
|
bankName = #{record.bankname,jdbcType=VARCHAR},
|
||||||
accountNumber = #{record.accountnumber,jdbcType=VARCHAR},
|
accountNumber = #{record.accountnumber,jdbcType=VARCHAR},
|
||||||
taxRate = #{record.taxrate,jdbcType=DECIMAL},
|
taxRate = #{record.taxrate,jdbcType=DECIMAL},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -505,6 +516,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -534,7 +548,8 @@
|
|||||||
bankName = #{bankname,jdbcType=VARCHAR},
|
bankName = #{bankname,jdbcType=VARCHAR},
|
||||||
accountNumber = #{accountnumber,jdbcType=VARCHAR},
|
accountNumber = #{accountnumber,jdbcType=VARCHAR},
|
||||||
taxRate = #{taxrate,jdbcType=DECIMAL},
|
taxRate = #{taxrate,jdbcType=DECIMAL},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -14,6 +14,7 @@
|
|||||||
<result column="company_fax" jdbcType="VARCHAR" property="companyFax" />
|
<result column="company_fax" jdbcType="VARCHAR" property="companyFax" />
|
||||||
<result column="company_post_code" jdbcType="VARCHAR" property="companyPostCode" />
|
<result column="company_post_code" jdbcType="VARCHAR" property="companyPostCode" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -87,7 +88,7 @@
|
|||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
id, company_name, company_contacts, company_address, company_tel, company_fax, company_post_code,
|
id, company_name, company_contacts, company_address, company_tel, company_fax, company_post_code,
|
||||||
tenant_id
|
tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.SystemConfigExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.SystemConfigExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -142,10 +143,12 @@
|
|||||||
-->
|
-->
|
||||||
insert into jsh_systemconfig (id, company_name, company_contacts,
|
insert into jsh_systemconfig (id, company_name, company_contacts,
|
||||||
company_address, company_tel, company_fax,
|
company_address, company_tel, company_fax,
|
||||||
company_post_code, tenant_id)
|
company_post_code, tenant_id, delete_Flag
|
||||||
|
)
|
||||||
values (#{id,jdbcType=BIGINT}, #{companyName,jdbcType=VARCHAR}, #{companyContacts,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{companyName,jdbcType=VARCHAR}, #{companyContacts,jdbcType=VARCHAR},
|
||||||
#{companyAddress,jdbcType=VARCHAR}, #{companyTel,jdbcType=VARCHAR}, #{companyFax,jdbcType=VARCHAR},
|
#{companyAddress,jdbcType=VARCHAR}, #{companyTel,jdbcType=VARCHAR}, #{companyFax,jdbcType=VARCHAR},
|
||||||
#{companyPostCode,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT})
|
#{companyPostCode,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}
|
||||||
|
)
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.SystemConfig">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.SystemConfig">
|
||||||
<!--
|
<!--
|
||||||
@@ -178,6 +181,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -204,6 +210,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.SystemConfigExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.SystemConfigExample" resultType="java.lang.Integer">
|
||||||
@@ -247,6 +256,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -265,7 +277,8 @@
|
|||||||
company_tel = #{record.companyTel,jdbcType=VARCHAR},
|
company_tel = #{record.companyTel,jdbcType=VARCHAR},
|
||||||
company_fax = #{record.companyFax,jdbcType=VARCHAR},
|
company_fax = #{record.companyFax,jdbcType=VARCHAR},
|
||||||
company_post_code = #{record.companyPostCode,jdbcType=VARCHAR},
|
company_post_code = #{record.companyPostCode,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -298,6 +311,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -313,7 +329,8 @@
|
|||||||
company_tel = #{companyTel,jdbcType=VARCHAR},
|
company_tel = #{companyTel,jdbcType=VARCHAR},
|
||||||
company_fax = #{companyFax,jdbcType=VARCHAR},
|
company_fax = #{companyFax,jdbcType=VARCHAR},
|
||||||
company_post_code = #{companyPostCode,jdbcType=VARCHAR},
|
company_post_code = #{companyPostCode,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
<id column="id" jdbcType="BIGINT" property="id" />
|
<id column="id" jdbcType="BIGINT" property="id" />
|
||||||
<result column="UName" jdbcType="VARCHAR" property="uname" />
|
<result column="UName" jdbcType="VARCHAR" property="uname" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -81,7 +82,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
id, UName, tenant_id
|
id, UName, tenant_id, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.UnitExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.UnitExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -134,10 +135,10 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
insert into jsh_unit (id, UName, tenant_id
|
insert into jsh_unit (id, UName, tenant_id,
|
||||||
)
|
delete_Flag)
|
||||||
values (#{id,jdbcType=BIGINT}, #{uname,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}
|
values (#{id,jdbcType=BIGINT}, #{uname,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT},
|
||||||
)
|
#{deleteFlag,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Unit">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Unit">
|
||||||
<!--
|
<!--
|
||||||
@@ -155,6 +156,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -166,6 +170,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.UnitExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.UnitExample" resultType="java.lang.Integer">
|
||||||
@@ -194,6 +201,9 @@
|
|||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -207,7 +217,8 @@
|
|||||||
update jsh_unit
|
update jsh_unit
|
||||||
set id = #{record.id,jdbcType=BIGINT},
|
set id = #{record.id,jdbcType=BIGINT},
|
||||||
UName = #{record.uname,jdbcType=VARCHAR},
|
UName = #{record.uname,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT}
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -225,6 +236,9 @@
|
|||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -235,7 +249,8 @@
|
|||||||
-->
|
-->
|
||||||
update jsh_unit
|
update jsh_unit
|
||||||
set UName = #{uname,jdbcType=VARCHAR},
|
set UName = #{uname,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT}
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
<result column="KeyId" jdbcType="VARCHAR" property="keyid" />
|
<result column="KeyId" jdbcType="VARCHAR" property="keyid" />
|
||||||
<result column="Value" jdbcType="VARCHAR" property="value" />
|
<result column="Value" jdbcType="VARCHAR" property="value" />
|
||||||
<result column="BtnStr" jdbcType="VARCHAR" property="btnstr" />
|
<result column="BtnStr" jdbcType="VARCHAR" property="btnstr" />
|
||||||
|
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Example_Where_Clause">
|
<sql id="Example_Where_Clause">
|
||||||
<!--
|
<!--
|
||||||
@@ -83,7 +84,7 @@
|
|||||||
WARNING - @mbggenerated
|
WARNING - @mbggenerated
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
Id, Type, KeyId, Value, BtnStr
|
Id, Type, KeyId, Value, BtnStr, delete_Flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.UserBusinessExample" resultMap="BaseResultMap">
|
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.UserBusinessExample" resultMap="BaseResultMap">
|
||||||
<!--
|
<!--
|
||||||
@@ -137,9 +138,11 @@
|
|||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
-->
|
||||||
insert into jsh_userbusiness (Id, Type, KeyId,
|
insert into jsh_userbusiness (Id, Type, KeyId,
|
||||||
Value, BtnStr)
|
Value, BtnStr, delete_Flag
|
||||||
|
)
|
||||||
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{keyid,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{keyid,jdbcType=VARCHAR},
|
||||||
#{value,jdbcType=VARCHAR}, #{btnstr,jdbcType=VARCHAR})
|
#{value,jdbcType=VARCHAR}, #{btnstr,jdbcType=VARCHAR}, #{deleteFlag,jdbcType=VARCHAR}
|
||||||
|
)
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.UserBusiness">
|
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.UserBusiness">
|
||||||
<!--
|
<!--
|
||||||
@@ -163,6 +166,9 @@
|
|||||||
<if test="btnstr != null">
|
<if test="btnstr != null">
|
||||||
BtnStr,
|
BtnStr,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
@@ -180,6 +186,9 @@
|
|||||||
<if test="btnstr != null">
|
<if test="btnstr != null">
|
||||||
#{btnstr,jdbcType=VARCHAR},
|
#{btnstr,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
#{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.UserBusinessExample" resultType="java.lang.Integer">
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.UserBusinessExample" resultType="java.lang.Integer">
|
||||||
@@ -214,6 +223,9 @@
|
|||||||
<if test="record.btnstr != null">
|
<if test="record.btnstr != null">
|
||||||
BtnStr = #{record.btnstr,jdbcType=VARCHAR},
|
BtnStr = #{record.btnstr,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.deleteFlag != null">
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
@@ -229,7 +241,8 @@
|
|||||||
Type = #{record.type,jdbcType=VARCHAR},
|
Type = #{record.type,jdbcType=VARCHAR},
|
||||||
KeyId = #{record.keyid,jdbcType=VARCHAR},
|
KeyId = #{record.keyid,jdbcType=VARCHAR},
|
||||||
Value = #{record.value,jdbcType=VARCHAR},
|
Value = #{record.value,jdbcType=VARCHAR},
|
||||||
BtnStr = #{record.btnstr,jdbcType=VARCHAR}
|
BtnStr = #{record.btnstr,jdbcType=VARCHAR},
|
||||||
|
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
</if>
|
</if>
|
||||||
@@ -253,6 +266,9 @@
|
|||||||
<if test="btnstr != null">
|
<if test="btnstr != null">
|
||||||
BtnStr = #{btnstr,jdbcType=VARCHAR},
|
BtnStr = #{btnstr,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="deleteFlag != null">
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
@@ -265,7 +281,8 @@
|
|||||||
set Type = #{type,jdbcType=VARCHAR},
|
set Type = #{type,jdbcType=VARCHAR},
|
||||||
KeyId = #{keyid,jdbcType=VARCHAR},
|
KeyId = #{keyid,jdbcType=VARCHAR},
|
||||||
Value = #{value,jdbcType=VARCHAR},
|
Value = #{value,jdbcType=VARCHAR},
|
||||||
BtnStr = #{btnstr,jdbcType=VARCHAR}
|
BtnStr = #{btnstr,jdbcType=VARCHAR},
|
||||||
|
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where Id = #{id,jdbcType=BIGINT}
|
where Id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
select *
|
select *
|
||||||
FROM jsh_user
|
FROM jsh_user
|
||||||
where 1=1
|
where 1=1
|
||||||
and status not in('1','2')
|
and ifnull(status,'0') not in('1','2')
|
||||||
<if test="userName != null">
|
<if test="userName != null">
|
||||||
and username like '%${userName}%'
|
and username like '%${userName}%'
|
||||||
</if>
|
</if>
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
COUNT(id)
|
COUNT(id)
|
||||||
FROM jsh_user
|
FROM jsh_user
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
and status not in('1','2')
|
and ifnull(status,'0') not in('1','2')
|
||||||
<if test="userName != null">
|
<if test="userName != null">
|
||||||
and username like '%${userName}%'
|
and username like '%${userName}%'
|
||||||
</if>
|
</if>
|
||||||
@@ -40,10 +40,10 @@
|
|||||||
user.description, user.remark,user.isystem,org.id as orgaId,org.org_abr,rel.user_blng_orga_dspl_seq,
|
user.description, user.remark,user.isystem,org.id as orgaId,org.org_abr,rel.user_blng_orga_dspl_seq,
|
||||||
rel.id as orgaUserRelId
|
rel.id as orgaUserRelId
|
||||||
FROM jsh_user user
|
FROM jsh_user user
|
||||||
left join jsh_orga_user_rel rel on user.id=rel.user_id and rel.delete_flag!='1'
|
left join jsh_orga_user_rel rel on user.id=rel.user_id and ifnull(rel.delete_flag,'0') !='1'
|
||||||
left join jsh_organization org on rel.orga_id=org.id
|
left join jsh_organization org on rel.orga_id=org.id and ifnull(org.org_stcd,'0') !='5'
|
||||||
where 1=1
|
where 1=1
|
||||||
and user.status not in('1','2')
|
and ifnull(user.status,'0') not in('1','2')
|
||||||
<if test="userName != null and userName != ''">
|
<if test="userName != null and userName != ''">
|
||||||
<bind name="userName" value="'%' + _parameter.userName + '%'" />
|
<bind name="userName" value="'%' + _parameter.userName + '%'" />
|
||||||
and user.userName like #{userName}
|
and user.userName like #{userName}
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
user.description, user.remark,user.isystem
|
user.description, user.remark,user.isystem
|
||||||
FROM jsh_user user
|
FROM jsh_user user
|
||||||
where 1=1
|
where 1=1
|
||||||
and user.status not in('1','2')
|
and ifnull(user.status,'0') not in('1','2')
|
||||||
<if test="userName != null and userName != ''">
|
<if test="userName != null and userName != ''">
|
||||||
and user.userName = #{userName}
|
and user.userName = #{userName}
|
||||||
</if>
|
</if>
|
||||||
@@ -161,7 +161,7 @@
|
|||||||
org.id, org.org_abr as text,org.org_no as orgNo,org.sort as sort,null as iconCls,'0' as type
|
org.id, org.org_abr as text,org.org_no as orgNo,org.sort as sort,null as iconCls,'0' as type
|
||||||
FROM jsh_organization org
|
FROM jsh_organization org
|
||||||
WHERE org.org_parent_no = #{orgNo}
|
WHERE org.org_parent_no = #{orgNo}
|
||||||
and org.org_stcd !='5'
|
and ifnull(org.org_stcd,'0') !='5'
|
||||||
union all
|
union all
|
||||||
select
|
select
|
||||||
user.id,user.username as text, null as orgNo,rel.user_blng_orga_dspl_seq as sort,'icon-user' as iconCls,'1' as type
|
user.id,user.username as text, null as orgNo,rel.user_blng_orga_dspl_seq as sort,'icon-user' as iconCls,'1' as type
|
||||||
@@ -170,8 +170,8 @@
|
|||||||
1=1
|
1=1
|
||||||
and user.id=rel.user_id
|
and user.id=rel.user_id
|
||||||
and rel.orga_id=#{orgId}
|
and rel.orga_id=#{orgId}
|
||||||
and rel.delete_flag !='1'
|
and ifnull(rel.delete_flag,'0') !='1'
|
||||||
and user.status not in ('1','2')
|
and ifnull(user.status,'0') not in('1','2')
|
||||||
) node
|
) node
|
||||||
order by sort asc
|
order by sort asc
|
||||||
</select>
|
</select>
|
||||||
@@ -181,7 +181,7 @@
|
|||||||
id, org_abr as text,org_no as orgNo,'0' as type
|
id, org_abr as text,org_no as orgNo,'0' as type
|
||||||
FROM jsh_organization
|
FROM jsh_organization
|
||||||
WHERE org_parent_no = -1
|
WHERE org_parent_no = -1
|
||||||
and org_stcd !='5'
|
and ifnull(org_stcd,'0') !='5'
|
||||||
order by sort asc
|
order by sort asc
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user