INSERT INTO parameter_settings (
code,
value,
name,
type,
category
)
VALUES (
#{code},
#{value},
#{name},
#{type},
#{category}
)
UPDATE parameter_settings
code = #{code},
value = #{value},
name = #{name},
type = #{type},
category = #{category},
WHERE id=#{id}
delete from parameter_settings where id in
#{item}
DELETE FROM parameter_settings
where id=#{id}
select
id,
code,
value,
name,
type,
category
from parameter_settings
where 1=1
and id
and code = #{record.code}
and value
and name
and type
and category
order by
${pageVo.sort} ${pageVo.order}
limit
#{pageVo.offset},#{pageVo.limit}
select count(*)
from parameter_settings
where 1=1
and id
and code = #{record.code}
and value
and name
and type
and category
select
id,
code,
value,
name,
type,
category
from parameter_settings
where id=#{id}
select
id,
code,
value,
name,
type,
category
from parameter_settings
where 1=1
and id =#{record.id}
and code =#{record.code}
and value =#{record.value}
and name =#{record.name}
and type =#{record.type}
and category =#{record.category}
select distinct category from parameter_settings
select
a.id,
a.code,
a.value,
a.name,
a.type,
a.category,
b.param_value as userValue
from parameter_settings a
left join bus_parameter_settings b on a.code=b.param_code and b.company_id =#{record.companyId}
and a.id =#{record.id}
and a.code =#{record.code}
and a.value =#{record.value}
and a.name =#{record.name}
and a.type =#{record.type}
and a.category =#{record.category}
and b.shop_id =#{record.shopId}