去除分页插件

This commit is contained in:
季圣华
2020-04-19 15:26:14 +08:00
parent 60234752f2
commit a4895d955a
15 changed files with 84 additions and 215 deletions

View File

@@ -161,6 +161,7 @@
and ifnull(m.delete_Flag,'0') !='1'
</select>
<select id="getMaterialEnableSerialNumberList" parameterType="java.util.Map" resultMap="com.jsh.erp.datasource.mappers.MaterialMapper.BaseResultMap">
select
Id, CategoryId, name, Mfrs, Packing, SafetyStock, Model, Standard, Color, Unit, Remark,
@@ -181,6 +182,24 @@
and ifnull(delete_Flag,'0') !='1'
order by id desc
</select>
<select id="getMaterialEnableSerialNumberCount" resultType="java.lang.Long">
select count(1)
FROM jsh_material
where 1=1
and enabled ='1'
and enableSerialNumber ='1'
<if test="name != null and name != ''">
<bind name="name" value="'%' + _parameter.name + '%'" />
and name like #{name}
</if>
<if test="model != null and model != ''">
<bind name="model" value="'%' + _parameter.model + '%'" />
and model like #{model}
</if>
and ifnull(delete_Flag,'0') !='1'
</select>
<update id="batchDeleteMaterialByIds">
update jsh_material
set delete_Flag='1'