|
@ -44,6 +44,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="paramCode" column="param_code" /> |
|
|
<result property="paramCode" column="param_code" /> |
|
|
<result property="paramDesc" column="param_desc" /> |
|
|
<result property="paramDesc" column="param_desc" /> |
|
|
<result property="paramType" column="param_type" /> |
|
|
<result property="paramType" column="param_type" /> |
|
|
|
|
|
<result property="paramName" column="param_name" /> |
|
|
|
|
|
|
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectWinPrintModelVo"> |
|
|
<sql id="selectWinPrintModelVo"> |
|
@ -58,6 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="mType != null and mType != ''"> and m_type = #{mType}</if> |
|
|
<if test="mType != null and mType != ''"> and m_type = #{mType}</if> |
|
|
<if test="isDyparam != null and isDyparam != ''"> and is_dyparam = #{isDyparam}</if> |
|
|
<if test="isDyparam != null and isDyparam != ''"> and is_dyparam = #{isDyparam}</if> |
|
|
<if test="mTypeSrc != null and mTypeSrc != ''"> and m_type_src = #{mTypeSrc}</if> |
|
|
<if test="mTypeSrc != null and mTypeSrc != ''"> and m_type_src = #{mTypeSrc}</if> |
|
|
|
|
|
|
|
|
</where> |
|
|
</where> |
|
|
order by created_time desc |
|
|
order by created_time desc |
|
|
</select> |
|
|
</select> |
|
@ -75,7 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
where m_code = #{code} |
|
|
where m_code = #{code} |
|
|
</select> |
|
|
</select> |
|
|
<select id="selectWinPrintModelParamsList" resultMap="WinPrintModelParamsResult"> |
|
|
<select id="selectWinPrintModelParamsList" resultMap="WinPrintModelParamsResult"> |
|
|
select tenant_id, revision, created_by, created_time, updated_by, updated_time, id, model_code, param_code, param_desc, param_type |
|
|
select tenant_id, revision, created_by, created_time, updated_by, updated_time, id, model_code, param_code, param_desc, param_type,param_name |
|
|
from win_print_model_params |
|
|
from win_print_model_params |
|
|
where model_code = #{m_code} |
|
|
where model_code = #{m_code} |
|
|
</select> |
|
|
</select> |
|
@ -167,9 +170,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
</delete> |
|
|
</delete> |
|
|
|
|
|
|
|
|
<insert id="batchWinPrintModelParams"> |
|
|
<insert id="batchWinPrintModelParams"> |
|
|
insert into win_print_model_params( tenant_id, revision, created_by, created_time, updated_by, updated_time, id, model_code, param_code, param_desc, param_type) values |
|
|
insert into win_print_model_params( tenant_id, revision, created_by, created_time, updated_by, updated_time, id, model_code, param_code, param_desc, param_type,param_name) values |
|
|
<foreach item="item" index="index" collection="list" separator=","> |
|
|
<foreach item="item" index="index" collection="list" separator=","> |
|
|
( #{item.tenantId}, #{item.revision}, #{item.createdBy}, #{item.createdTime}, #{item.updatedBy}, #{item.updatedTime}, #{item.id}, #{item.modelCode}, #{item.paramCode}, #{item.paramDesc}, #{item.paramType}) |
|
|
( #{item.tenantId}, #{item.revision}, #{item.createdBy}, #{item.createdTime}, #{item.updatedBy}, #{item.updatedTime}, #{item.id}, #{item.modelCode}, #{item.paramCode}, #{item.paramDesc}, #{item.paramType}, #{item.paramName}) |
|
|
</foreach> |
|
|
</foreach> |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|