给系统配置增加出入库管理的配置开关
This commit is contained in:
@@ -35,6 +35,8 @@ public class SystemConfig {
|
|||||||
|
|
||||||
private String overLinkBillFlag;
|
private String overLinkBillFlag;
|
||||||
|
|
||||||
|
private String inOutManageFlag;
|
||||||
|
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
private String deleteFlag;
|
private String deleteFlag;
|
||||||
@@ -175,6 +177,14 @@ public class SystemConfig {
|
|||||||
this.overLinkBillFlag = overLinkBillFlag == null ? null : overLinkBillFlag.trim();
|
this.overLinkBillFlag = overLinkBillFlag == null ? null : overLinkBillFlag.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getInOutManageFlag() {
|
||||||
|
return inOutManageFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setInOutManageFlag(String inOutManageFlag) {
|
||||||
|
this.inOutManageFlag = inOutManageFlag == null ? null : inOutManageFlag.trim();
|
||||||
|
}
|
||||||
|
|
||||||
public Long getTenantId() {
|
public Long getTenantId() {
|
||||||
return tenantId;
|
return tenantId;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1284,6 +1284,76 @@ public class SystemConfigExample {
|
|||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagIsNull() {
|
||||||
|
addCriterion("in_out_manage_flag is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagIsNotNull() {
|
||||||
|
addCriterion("in_out_manage_flag is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagEqualTo(String value) {
|
||||||
|
addCriterion("in_out_manage_flag =", value, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagNotEqualTo(String value) {
|
||||||
|
addCriterion("in_out_manage_flag <>", value, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagGreaterThan(String value) {
|
||||||
|
addCriterion("in_out_manage_flag >", value, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("in_out_manage_flag >=", value, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagLessThan(String value) {
|
||||||
|
addCriterion("in_out_manage_flag <", value, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("in_out_manage_flag <=", value, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagLike(String value) {
|
||||||
|
addCriterion("in_out_manage_flag like", value, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagNotLike(String value) {
|
||||||
|
addCriterion("in_out_manage_flag not like", value, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagIn(List<String> values) {
|
||||||
|
addCriterion("in_out_manage_flag in", values, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagNotIn(List<String> values) {
|
||||||
|
addCriterion("in_out_manage_flag not in", values, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagBetween(String value1, String value2) {
|
||||||
|
addCriterion("in_out_manage_flag between", value1, value2, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andInOutManageFlagNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("in_out_manage_flag not between", value1, value2, "inOutManageFlag");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
public Criteria andTenantIdIsNull() {
|
public Criteria andTenantIdIsNull() {
|
||||||
addCriterion("tenant_id is null");
|
addCriterion("tenant_id is null");
|
||||||
return (Criteria) this;
|
return (Criteria) this;
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
<result column="force_approval_flag" jdbcType="VARCHAR" property="forceApprovalFlag" />
|
<result column="force_approval_flag" jdbcType="VARCHAR" property="forceApprovalFlag" />
|
||||||
<result column="update_unit_price_flag" jdbcType="VARCHAR" property="updateUnitPriceFlag" />
|
<result column="update_unit_price_flag" jdbcType="VARCHAR" property="updateUnitPriceFlag" />
|
||||||
<result column="over_link_bill_flag" jdbcType="VARCHAR" property="overLinkBillFlag" />
|
<result column="over_link_bill_flag" jdbcType="VARCHAR" property="overLinkBillFlag" />
|
||||||
|
<result column="in_out_manage_flag" jdbcType="VARCHAR" property="inOutManageFlag" />
|
||||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||||
<result column="delete_flag" jdbcType="VARCHAR" property="deleteFlag" />
|
<result column="delete_flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
@@ -84,7 +85,7 @@
|
|||||||
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,
|
||||||
sale_agreement, depot_flag, customer_flag, minus_stock_flag, purchase_by_sale_flag,
|
sale_agreement, depot_flag, customer_flag, minus_stock_flag, purchase_by_sale_flag,
|
||||||
multi_level_approval_flag, multi_bill_type, force_approval_flag, update_unit_price_flag,
|
multi_level_approval_flag, multi_bill_type, force_approval_flag, update_unit_price_flag,
|
||||||
over_link_bill_flag, tenant_id, delete_flag
|
over_link_bill_flag, in_out_manage_flag, 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">
|
||||||
select
|
select
|
||||||
@@ -123,16 +124,16 @@
|
|||||||
customer_flag, minus_stock_flag, purchase_by_sale_flag,
|
customer_flag, minus_stock_flag, purchase_by_sale_flag,
|
||||||
multi_level_approval_flag, multi_bill_type,
|
multi_level_approval_flag, multi_bill_type,
|
||||||
force_approval_flag, update_unit_price_flag,
|
force_approval_flag, update_unit_price_flag,
|
||||||
over_link_bill_flag, tenant_id, delete_flag
|
over_link_bill_flag, in_out_manage_flag, 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}, #{saleAgreement,jdbcType=VARCHAR}, #{depotFlag,jdbcType=VARCHAR},
|
#{companyPostCode,jdbcType=VARCHAR}, #{saleAgreement,jdbcType=VARCHAR}, #{depotFlag,jdbcType=VARCHAR},
|
||||||
#{customerFlag,jdbcType=VARCHAR}, #{minusStockFlag,jdbcType=VARCHAR}, #{purchaseBySaleFlag,jdbcType=VARCHAR},
|
#{customerFlag,jdbcType=VARCHAR}, #{minusStockFlag,jdbcType=VARCHAR}, #{purchaseBySaleFlag,jdbcType=VARCHAR},
|
||||||
#{multiLevelApprovalFlag,jdbcType=VARCHAR}, #{multiBillType,jdbcType=VARCHAR},
|
#{multiLevelApprovalFlag,jdbcType=VARCHAR}, #{multiBillType,jdbcType=VARCHAR},
|
||||||
#{forceApprovalFlag,jdbcType=VARCHAR}, #{updateUnitPriceFlag,jdbcType=VARCHAR},
|
#{forceApprovalFlag,jdbcType=VARCHAR}, #{updateUnitPriceFlag,jdbcType=VARCHAR},
|
||||||
#{overLinkBillFlag,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}
|
#{overLinkBillFlag,jdbcType=VARCHAR}, #{inOutManageFlag,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">
|
||||||
insert into jsh_system_config
|
insert into jsh_system_config
|
||||||
@@ -188,6 +189,9 @@
|
|||||||
<if test="overLinkBillFlag != null">
|
<if test="overLinkBillFlag != null">
|
||||||
over_link_bill_flag,
|
over_link_bill_flag,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="inOutManageFlag != null">
|
||||||
|
in_out_manage_flag,
|
||||||
|
</if>
|
||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id,
|
tenant_id,
|
||||||
</if>
|
</if>
|
||||||
@@ -247,6 +251,9 @@
|
|||||||
<if test="overLinkBillFlag != null">
|
<if test="overLinkBillFlag != null">
|
||||||
#{overLinkBillFlag,jdbcType=VARCHAR},
|
#{overLinkBillFlag,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="inOutManageFlag != null">
|
||||||
|
#{inOutManageFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
#{tenantId,jdbcType=BIGINT},
|
#{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
@@ -315,6 +322,9 @@
|
|||||||
<if test="record.overLinkBillFlag != null">
|
<if test="record.overLinkBillFlag != null">
|
||||||
over_link_bill_flag = #{record.overLinkBillFlag,jdbcType=VARCHAR},
|
over_link_bill_flag = #{record.overLinkBillFlag,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.inOutManageFlag != null">
|
||||||
|
in_out_manage_flag = #{record.inOutManageFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="record.tenantId != null">
|
<if test="record.tenantId != null">
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
@@ -345,6 +355,7 @@
|
|||||||
force_approval_flag = #{record.forceApprovalFlag,jdbcType=VARCHAR},
|
force_approval_flag = #{record.forceApprovalFlag,jdbcType=VARCHAR},
|
||||||
update_unit_price_flag = #{record.updateUnitPriceFlag,jdbcType=VARCHAR},
|
update_unit_price_flag = #{record.updateUnitPriceFlag,jdbcType=VARCHAR},
|
||||||
over_link_bill_flag = #{record.overLinkBillFlag,jdbcType=VARCHAR},
|
over_link_bill_flag = #{record.overLinkBillFlag,jdbcType=VARCHAR},
|
||||||
|
in_out_manage_flag = #{record.inOutManageFlag,jdbcType=VARCHAR},
|
||||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||||
delete_flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
delete_flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||||
<if test="_parameter != null">
|
<if test="_parameter != null">
|
||||||
@@ -402,6 +413,9 @@
|
|||||||
<if test="overLinkBillFlag != null">
|
<if test="overLinkBillFlag != null">
|
||||||
over_link_bill_flag = #{overLinkBillFlag,jdbcType=VARCHAR},
|
over_link_bill_flag = #{overLinkBillFlag,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="inOutManageFlag != null">
|
||||||
|
in_out_manage_flag = #{inOutManageFlag,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
<if test="tenantId != null">
|
<if test="tenantId != null">
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
@@ -429,6 +443,7 @@
|
|||||||
force_approval_flag = #{forceApprovalFlag,jdbcType=VARCHAR},
|
force_approval_flag = #{forceApprovalFlag,jdbcType=VARCHAR},
|
||||||
update_unit_price_flag = #{updateUnitPriceFlag,jdbcType=VARCHAR},
|
update_unit_price_flag = #{updateUnitPriceFlag,jdbcType=VARCHAR},
|
||||||
over_link_bill_flag = #{overLinkBillFlag,jdbcType=VARCHAR},
|
over_link_bill_flag = #{overLinkBillFlag,jdbcType=VARCHAR},
|
||||||
|
in_out_manage_flag = #{inOutManageFlag,jdbcType=VARCHAR},
|
||||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||||
delete_flag = #{deleteFlag,jdbcType=VARCHAR}
|
delete_flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
|
|||||||
Reference in New Issue
Block a user