change - 箱体发泡记录
parent
00bd8e95e7
commit
0077e26cc6
@ -0,0 +1,101 @@
|
||||
package com.aucma.report.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.aucma.common.utils.DateUtils;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.aucma.common.annotation.Log;
|
||||
import com.aucma.common.core.controller.BaseController;
|
||||
import com.aucma.common.core.domain.AjaxResult;
|
||||
import com.aucma.common.enums.BusinessType;
|
||||
import com.aucma.report.domain.BoxLastShotRecord;
|
||||
import com.aucma.report.service.IBoxLastShotRecordService;
|
||||
import com.aucma.common.utils.poi.ExcelUtil;
|
||||
import com.aucma.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 箱体发泡注料记录报表Controller
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-01-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/report/lastShotRecord" )
|
||||
public class BoxLastShotRecordController extends BaseController {
|
||||
@Autowired
|
||||
private IBoxLastShotRecordService boxLastShotRecordService;
|
||||
|
||||
/**
|
||||
* 查询箱体发泡注料记录报表列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('report:lastShotRecord:list')" )
|
||||
@GetMapping("/list" )
|
||||
public TableDataInfo list(BoxLastShotRecord boxLastShotRecord) {
|
||||
startPage();
|
||||
List<BoxLastShotRecord> list = boxLastShotRecordService.selectBoxLastShotRecordList(boxLastShotRecord);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出箱体发泡注料记录报表列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('report:lastShotRecord:export')" )
|
||||
@Log(title = "箱体发泡注料记录报表" , businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export" )
|
||||
public void export(HttpServletResponse response, BoxLastShotRecord boxLastShotRecord) {
|
||||
List<BoxLastShotRecord> list = boxLastShotRecordService.selectBoxLastShotRecordList(boxLastShotRecord);
|
||||
ExcelUtil<BoxLastShotRecord> util = new ExcelUtil<BoxLastShotRecord>(BoxLastShotRecord. class);
|
||||
util.exportExcel(response, list, "箱体发泡注料记录报表数据" );
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取箱体发泡注料记录报表详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('report:lastShotRecord:query')" )
|
||||
@GetMapping(value = "/{objId}" )
|
||||
public AjaxResult getInfo(@PathVariable("objId" ) Long objId) {
|
||||
return success(boxLastShotRecordService.selectBoxLastShotRecordByObjId(objId));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增箱体发泡注料记录报表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('report:lastShotRecord:add')" )
|
||||
@Log(title = "箱体发泡注料记录报表" , businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody BoxLastShotRecord boxLastShotRecord) {
|
||||
|
||||
return toAjax(boxLastShotRecordService.insertBoxLastShotRecord(boxLastShotRecord));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改箱体发泡注料记录报表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('report:lastShotRecord:edit')" )
|
||||
@Log(title = "箱体发泡注料记录报表" , businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody BoxLastShotRecord boxLastShotRecord) {
|
||||
|
||||
return toAjax(boxLastShotRecordService.updateBoxLastShotRecord(boxLastShotRecord));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除箱体发泡注料记录报表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('report:lastShotRecord:remove')" )
|
||||
@Log(title = "箱体发泡注料记录报表" , businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{objIds}" )
|
||||
public AjaxResult remove(@PathVariable Long[] objIds) {
|
||||
return toAjax(boxLastShotRecordService.deleteBoxLastShotRecordByObjIds(objIds));
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.aucma.report.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.aucma.report.domain.BoxLastShotRecord;
|
||||
|
||||
/**
|
||||
* 箱体发泡注料记录报表Mapper接口
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-01-12
|
||||
*/
|
||||
public interface BoxLastShotRecordMapper
|
||||
{
|
||||
/**
|
||||
* 查询箱体发泡注料记录报表
|
||||
*
|
||||
* @param objId 箱体发泡注料记录报表主键
|
||||
* @return 箱体发泡注料记录报表
|
||||
*/
|
||||
public BoxLastShotRecord selectBoxLastShotRecordByObjId(Long objId);
|
||||
|
||||
/**
|
||||
* 查询箱体发泡注料记录报表列表
|
||||
*
|
||||
* @param boxLastShotRecord 箱体发泡注料记录报表
|
||||
* @return 箱体发泡注料记录报表集合
|
||||
*/
|
||||
public List<BoxLastShotRecord> selectBoxLastShotRecordList(BoxLastShotRecord boxLastShotRecord);
|
||||
|
||||
/**
|
||||
* 新增箱体发泡注料记录报表
|
||||
*
|
||||
* @param boxLastShotRecord 箱体发泡注料记录报表
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertBoxLastShotRecord(BoxLastShotRecord boxLastShotRecord);
|
||||
|
||||
/**
|
||||
* 修改箱体发泡注料记录报表
|
||||
*
|
||||
* @param boxLastShotRecord 箱体发泡注料记录报表
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateBoxLastShotRecord(BoxLastShotRecord boxLastShotRecord);
|
||||
|
||||
/**
|
||||
* 删除箱体发泡注料记录报表
|
||||
*
|
||||
* @param objId 箱体发泡注料记录报表主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBoxLastShotRecordByObjId(Long objId);
|
||||
|
||||
/**
|
||||
* 批量删除箱体发泡注料记录报表
|
||||
*
|
||||
* @param objIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBoxLastShotRecordByObjIds(Long[] objIds);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.aucma.report.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.aucma.report.domain.BoxLastShotRecord;
|
||||
|
||||
/**
|
||||
* 箱体发泡注料记录报表Service接口
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-01-12
|
||||
*/
|
||||
public interface IBoxLastShotRecordService
|
||||
{
|
||||
/**
|
||||
* 查询箱体发泡注料记录报表
|
||||
*
|
||||
* @param objId 箱体发泡注料记录报表主键
|
||||
* @return 箱体发泡注料记录报表
|
||||
*/
|
||||
public BoxLastShotRecord selectBoxLastShotRecordByObjId(Long objId);
|
||||
|
||||
/**
|
||||
* 查询箱体发泡注料记录报表列表
|
||||
*
|
||||
* @param boxLastShotRecord 箱体发泡注料记录报表
|
||||
* @return 箱体发泡注料记录报表集合
|
||||
*/
|
||||
public List<BoxLastShotRecord> selectBoxLastShotRecordList(BoxLastShotRecord boxLastShotRecord);
|
||||
|
||||
/**
|
||||
* 新增箱体发泡注料记录报表
|
||||
*
|
||||
* @param boxLastShotRecord 箱体发泡注料记录报表
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertBoxLastShotRecord(BoxLastShotRecord boxLastShotRecord);
|
||||
|
||||
/**
|
||||
* 修改箱体发泡注料记录报表
|
||||
*
|
||||
* @param boxLastShotRecord 箱体发泡注料记录报表
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateBoxLastShotRecord(BoxLastShotRecord boxLastShotRecord);
|
||||
|
||||
/**
|
||||
* 批量删除箱体发泡注料记录报表
|
||||
*
|
||||
* @param objIds 需要删除的箱体发泡注料记录报表主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBoxLastShotRecordByObjIds(Long[] objIds);
|
||||
|
||||
/**
|
||||
* 删除箱体发泡注料记录报表信息
|
||||
*
|
||||
* @param objId 箱体发泡注料记录报表主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBoxLastShotRecordByObjId(Long objId);
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
package com.aucma.report.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.aucma.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.aucma.report.mapper.BoxLastShotRecordMapper;
|
||||
import com.aucma.report.domain.BoxLastShotRecord;
|
||||
import com.aucma.report.service.IBoxLastShotRecordService;
|
||||
|
||||
/**
|
||||
* 箱体发泡注料记录报表Service业务层处理
|
||||
*
|
||||
* @author Yinq
|
||||
* @date 2024-01-12
|
||||
*/
|
||||
@Service
|
||||
public class BoxLastShotRecordServiceImpl implements IBoxLastShotRecordService
|
||||
{
|
||||
@Autowired
|
||||
private BoxLastShotRecordMapper boxLastShotRecordMapper;
|
||||
|
||||
/**
|
||||
* 查询箱体发泡注料记录报表
|
||||
*
|
||||
* @param objId 箱体发泡注料记录报表主键
|
||||
* @return 箱体发泡注料记录报表
|
||||
*/
|
||||
@Override
|
||||
public BoxLastShotRecord selectBoxLastShotRecordByObjId(Long objId)
|
||||
{
|
||||
return boxLastShotRecordMapper.selectBoxLastShotRecordByObjId(objId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询箱体发泡注料记录报表列表
|
||||
*
|
||||
* @param boxLastShotRecord 箱体发泡注料记录报表
|
||||
* @return 箱体发泡注料记录报表
|
||||
*/
|
||||
@Override
|
||||
public List<BoxLastShotRecord> selectBoxLastShotRecordList(BoxLastShotRecord boxLastShotRecord)
|
||||
{
|
||||
return boxLastShotRecordMapper.selectBoxLastShotRecordList(boxLastShotRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增箱体发泡注料记录报表
|
||||
*
|
||||
* @param boxLastShotRecord 箱体发泡注料记录报表
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertBoxLastShotRecord(BoxLastShotRecord boxLastShotRecord)
|
||||
{
|
||||
boxLastShotRecord.setCreateTime(DateUtils.getNowDate());
|
||||
return boxLastShotRecordMapper.insertBoxLastShotRecord(boxLastShotRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改箱体发泡注料记录报表
|
||||
*
|
||||
* @param boxLastShotRecord 箱体发泡注料记录报表
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateBoxLastShotRecord(BoxLastShotRecord boxLastShotRecord)
|
||||
{
|
||||
return boxLastShotRecordMapper.updateBoxLastShotRecord(boxLastShotRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除箱体发泡注料记录报表
|
||||
*
|
||||
* @param objIds 需要删除的箱体发泡注料记录报表主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteBoxLastShotRecordByObjIds(Long[] objIds)
|
||||
{
|
||||
return boxLastShotRecordMapper.deleteBoxLastShotRecordByObjIds(objIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除箱体发泡注料记录报表信息
|
||||
*
|
||||
* @param objId 箱体发泡注料记录报表主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteBoxLastShotRecordByObjId(Long objId)
|
||||
{
|
||||
return boxLastShotRecordMapper.deleteBoxLastShotRecordByObjId(objId);
|
||||
}
|
||||
}
|
@ -0,0 +1,214 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.aucma.report.mapper.BoxLastShotRecordMapper">
|
||||
|
||||
<resultMap type="BoxLastShotRecord" id="BoxLastShotRecordResult">
|
||||
<result property="objId" column="obj_id"/>
|
||||
<result property="system" column="system"/>
|
||||
<result property="gunCode" column="gun_code"/>
|
||||
<result property="productLineCode" column="product_line_code"/>
|
||||
<result property="stationNumber" column="stationnumber"/>
|
||||
<result property="polTemp" column="pol_temp"/>
|
||||
<result property="polHp" column="pol_hp"/>
|
||||
<result property="polVol" column="pol_vol"/>
|
||||
<result property="polUsage" column="pol_usage"/>
|
||||
<result property="isoTemp" column="iso_temp"/>
|
||||
<result property="isoHp" column="iso_hp"/>
|
||||
<result property="isoVol" column="iso_vol"/>
|
||||
<result property="isoUsage" column="iso_usage"/>
|
||||
<result property="pourNu" column="pour_nu"/>
|
||||
<result property="setTime" column="set_time"/>
|
||||
<result property="setWeight" column="set_weight"/>
|
||||
<result property="setRatio" column="set_ratio"/>
|
||||
<result property="pourWeight" column="pour_weight"/>
|
||||
<result property="pourRatio" column="pour_ratio"/>
|
||||
<result property="mpTime" column="mp_time"/>
|
||||
<result property="hpTime" column="hp_time"/>
|
||||
<result property="hydrPress" column="hydr_press"/>
|
||||
<result property="hydrTemp" column="hydr_temp"/>
|
||||
<result property="mixpistOn" column="mixpist_on"/>
|
||||
<result property="mixpistOff" column="mixpist_off"/>
|
||||
<result property="totalYield" column="total_yield"/>
|
||||
<result property="pourEnd" column="pour_end"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
<result property="systemStatus" column="systemstatus"/>
|
||||
<result property="productLineName" column="productLineName"/>
|
||||
<result property="stationName" column="stationName"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBoxLastShotRecordVo">
|
||||
select VBL.OBJ_ID,
|
||||
VBL.SYSTEM,
|
||||
VBL.GUN_CODE,
|
||||
VBL.PRODUCT_LINE_CODE,
|
||||
VBL.POL_TEMP,
|
||||
VBL.POL_HP,
|
||||
VBL.POL_VOL,
|
||||
VBL.POL_USAGE,
|
||||
VBL.ISO_TEMP,
|
||||
VBL.ISO_HP,
|
||||
VBL.ISO_VOL,
|
||||
VBL.ISO_USAGE,
|
||||
VBL.POUR_NU,
|
||||
VBL.SET_TIME,
|
||||
VBL.SET_WEIGHT,
|
||||
VBL.SET_RATIO,
|
||||
VBL.POUR_WEIGHT,
|
||||
VBL.POUR_RATIO,
|
||||
VBL.MP_TIME,
|
||||
VBL.HP_TIME,
|
||||
VBL.HYDR_PRESS,
|
||||
VBL.HYDR_TEMP,
|
||||
VBL.MIXPIST_ON,
|
||||
VBL.MIXPIST_OFF,
|
||||
VBL.TOTAL_YIELD,
|
||||
VBL.POUR_END,
|
||||
VBL.CREATE_TIME,
|
||||
VBL.STATIONNUMBER,
|
||||
VBL.SYSTEMSTATUS,
|
||||
BP.PRODUCT_LINE_NAME stationName,
|
||||
BPP.PRODUCT_LINE_NAME productLineName
|
||||
from VIEW_BOX_LASTSHOTRECORD VBL
|
||||
LEFT JOIN BASE_PRODUCTLINE BP ON BP.PRODUCT_LINE_CODE = VBL.STATIONNUMBER
|
||||
LEFT JOIN BASE_PRODUCTLINE BPP ON BPP.PRODUCT_LINE_CODE = BP.PARENT_ID
|
||||
</sql>
|
||||
|
||||
<select id="selectBoxLastShotRecordList" parameterType="BoxLastShotRecord" resultMap="BoxLastShotRecordResult">
|
||||
<include refid="selectBoxLastShotRecordVo"/>
|
||||
<where>
|
||||
<if test="system != null and system != ''">and VBL.system = #{system}</if>
|
||||
<if test="gunCode != null and gunCode != ''">and VBL.gun_code = #{gunCode}</if>
|
||||
<if test="productLineCode != null and productLineCode != ''">and VBL.product_line_code = #{productLineCode}
|
||||
</if>
|
||||
<if test="stationNumber != null and stationNumber != ''">and VBL.stationnumber = #{stationNumber}</if>
|
||||
<if test="beginBeginTime != null and beginBeginTime != '' and endBeginTime != null and endBeginTime != ''">
|
||||
AND TO_CHAR(VBL.CREATE_TIME, 'YYYY-MM-DD HH24:MI:SS') BETWEEN #{beginBeginTime} AND #{endBeginTime}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY VBL.CREATE_TIME DESC
|
||||
</select>
|
||||
|
||||
<select id="selectBoxLastShotRecordByObjId" parameterType="Long" resultMap="BoxLastShotRecordResult">
|
||||
<include refid="selectBoxLastShotRecordVo"/>
|
||||
where obj_id = #{objId}
|
||||
</select>
|
||||
|
||||
<insert id="insertBoxLastShotRecord" parameterType="BoxLastShotRecord">
|
||||
<selectKey keyProperty="objId" resultType="long" order="BEFORE">
|
||||
SELECT seq_box_lastshotrecord.NEXTVAL as objId FROM DUAL
|
||||
</selectKey>
|
||||
insert into box_lastshotrecord
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="objId != null">obj_id,</if>
|
||||
<if test="system != null">system,</if>
|
||||
<if test="gunCode != null">gun_code,</if>
|
||||
<if test="productLineCode != null">product_line_code,</if>
|
||||
<if test="stationNumber != null">stationnumber,</if>
|
||||
<if test="polTemp != null">pol_temp,</if>
|
||||
<if test="polHp != null">pol_hp,</if>
|
||||
<if test="polVol != null">pol_vol,</if>
|
||||
<if test="polUsage != null">pol_usage,</if>
|
||||
<if test="isoTemp != null">iso_temp,</if>
|
||||
<if test="isoHp != null">iso_hp,</if>
|
||||
<if test="isoVol != null">iso_vol,</if>
|
||||
<if test="isoUsage != null">iso_usage,</if>
|
||||
<if test="pourNu != null">pour_nu,</if>
|
||||
<if test="setTime != null">set_time,</if>
|
||||
<if test="setWeight != null">set_weight,</if>
|
||||
<if test="setRatio != null">set_ratio,</if>
|
||||
<if test="pourWeight != null">pour_weight,</if>
|
||||
<if test="pourRatio != null">pour_ratio,</if>
|
||||
<if test="mpTime != null">mp_time,</if>
|
||||
<if test="hpTime != null">hp_time,</if>
|
||||
<if test="hydrPress != null">hydr_press,</if>
|
||||
<if test="hydrTemp != null">hydr_temp,</if>
|
||||
<if test="mixpistOn != null">mixpist_on,</if>
|
||||
<if test="mixpistOff != null">mixpist_off,</if>
|
||||
<if test="totalYield != null">total_yield,</if>
|
||||
<if test="pourEnd != null">pour_end,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="systemStatus != null">systemstatus,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="objId != null">#{objId},</if>
|
||||
<if test="system != null">#{system},</if>
|
||||
<if test="gunCode != null">#{gunCode},</if>
|
||||
<if test="productLineCode != null">#{productLineCode},</if>
|
||||
<if test="stationNumber != null">#{stationNumber},</if>
|
||||
<if test="polTemp != null">#{polTemp},</if>
|
||||
<if test="polHp != null">#{polHp},</if>
|
||||
<if test="polVol != null">#{polVol},</if>
|
||||
<if test="polUsage != null">#{polUsage},</if>
|
||||
<if test="isoTemp != null">#{isoTemp},</if>
|
||||
<if test="isoHp != null">#{isoHp},</if>
|
||||
<if test="isoVol != null">#{isoVol},</if>
|
||||
<if test="isoUsage != null">#{isoUsage},</if>
|
||||
<if test="pourNu != null">#{pourNu},</if>
|
||||
<if test="setTime != null">#{setTime},</if>
|
||||
<if test="setWeight != null">#{setWeight},</if>
|
||||
<if test="setRatio != null">#{setRatio},</if>
|
||||
<if test="pourWeight != null">#{pourWeight},</if>
|
||||
<if test="pourRatio != null">#{pourRatio},</if>
|
||||
<if test="mpTime != null">#{mpTime},</if>
|
||||
<if test="hpTime != null">#{hpTime},</if>
|
||||
<if test="hydrPress != null">#{hydrPress},</if>
|
||||
<if test="hydrTemp != null">#{hydrTemp},</if>
|
||||
<if test="mixpistOn != null">#{mixpistOn},</if>
|
||||
<if test="mixpistOff != null">#{mixpistOff},</if>
|
||||
<if test="totalYield != null">#{totalYield},</if>
|
||||
<if test="pourEnd != null">#{pourEnd},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="systemStatus != null">#{systemStatus},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBoxLastShotRecord" parameterType="BoxLastShotRecord">
|
||||
update box_lastshotrecord
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="system != null">system = #{system},</if>
|
||||
<if test="gunCode != null">gun_code = #{gunCode},</if>
|
||||
<if test="productLineCode != null">product_line_code = #{productLineCode},</if>
|
||||
<if test="stationNumber != null">stationnumber = #{stationNumber},</if>
|
||||
<if test="polTemp != null">pol_temp = #{polTemp},</if>
|
||||
<if test="polHp != null">pol_hp = #{polHp},</if>
|
||||
<if test="polVol != null">pol_vol = #{polVol},</if>
|
||||
<if test="polUsage != null">pol_usage = #{polUsage},</if>
|
||||
<if test="isoTemp != null">iso_temp = #{isoTemp},</if>
|
||||
<if test="isoHp != null">iso_hp = #{isoHp},</if>
|
||||
<if test="isoVol != null">iso_vol = #{isoVol},</if>
|
||||
<if test="isoUsage != null">iso_usage = #{isoUsage},</if>
|
||||
<if test="pourNu != null">pour_nu = #{pourNu},</if>
|
||||
<if test="setTime != null">set_time = #{setTime},</if>
|
||||
<if test="setWeight != null">set_weight = #{setWeight},</if>
|
||||
<if test="setRatio != null">set_ratio = #{setRatio},</if>
|
||||
<if test="pourWeight != null">pour_weight = #{pourWeight},</if>
|
||||
<if test="pourRatio != null">pour_ratio = #{pourRatio},</if>
|
||||
<if test="mpTime != null">mp_time = #{mpTime},</if>
|
||||
<if test="hpTime != null">hp_time = #{hpTime},</if>
|
||||
<if test="hydrPress != null">hydr_press = #{hydrPress},</if>
|
||||
<if test="hydrTemp != null">hydr_temp = #{hydrTemp},</if>
|
||||
<if test="mixpistOn != null">mixpist_on = #{mixpistOn},</if>
|
||||
<if test="mixpistOff != null">mixpist_off = #{mixpistOff},</if>
|
||||
<if test="totalYield != null">total_yield = #{totalYield},</if>
|
||||
<if test="pourEnd != null">pour_end = #{pourEnd},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="systemStatus != null">systemstatus = #{systemStatus},</if>
|
||||
</trim>
|
||||
where obj_id = #{objId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBoxLastShotRecordByObjId" parameterType="Long">
|
||||
delete
|
||||
from box_lastshotrecord
|
||||
where obj_id = #{objId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBoxLastShotRecordByObjIds" parameterType="String">
|
||||
delete from box_lastshotrecord where obj_id in
|
||||
<foreach item="objId" collection="array" open="(" separator="," close=")">
|
||||
#{objId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
Loading…
Reference in New Issue