diff --git a/aucma-report/src/main/java/com/aucma/report/controller/BoxLastShotRecordController.java b/aucma-report/src/main/java/com/aucma/report/controller/BoxLastShotRecordController.java new file mode 100644 index 0000000..9c09d83 --- /dev/null +++ b/aucma-report/src/main/java/com/aucma/report/controller/BoxLastShotRecordController.java @@ -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 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 list = boxLastShotRecordService.selectBoxLastShotRecordList(boxLastShotRecord); + ExcelUtil util = new ExcelUtil(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)); + } +} diff --git a/aucma-report/src/main/java/com/aucma/report/domain/BoxLastShotRecord.java b/aucma-report/src/main/java/com/aucma/report/domain/BoxLastShotRecord.java new file mode 100644 index 0000000..0826517 --- /dev/null +++ b/aucma-report/src/main/java/com/aucma/report/domain/BoxLastShotRecord.java @@ -0,0 +1,485 @@ +package com.aucma.report.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.aucma.common.annotation.Excel; +import com.aucma.common.core.domain.BaseEntity; + +/** + * 箱体发泡注料记录报表对象 box_lastshotrecord + * + * @author Yinq + * @date 2024-01-12 + */ +public class BoxLastShotRecord extends BaseEntity { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private Long objId; + + /** + * 所属系统 + */ + @Excel(name = "所属系统") + private String system; + + /** + * 枪编号 + */ + @Excel(name = "枪编号") + private String gunCode; + + + private String productLineCode; + + /** + * 产线名称 + */ + @Excel(name = "产线名称") + private String productLineName; + + + private String stationNumber; + + /** + * 工位名称 + */ + @Excel(name = "工位名称") + private String stationName; + + /** + * 枪POL注料温度 + */ + @Excel(name = "枪POL注料温度") + private String polTemp; + + /** + * 枪POL注料压力 + */ + @Excel(name = "枪POL注料压力") + private String polHp; + + /** + * 枪POL注料流量 + */ + @Excel(name = "枪POL注料流量") + private String polVol; + + /** + * 枪POL原料用量 + */ + @Excel(name = "枪POL原料用量") + private String polUsage; + + /** + * 枪ISO注料温度 + */ + @Excel(name = "枪ISO注料温度") + private String isoTemp; + + /** + * 枪ISO注料压力 + */ + @Excel(name = "枪ISO注料压力") + private String isoHp; + + /** + * 枪ISO注料流量 + */ + @Excel(name = "枪ISO注料流量") + private String isoVol; + + /** + * 枪ISO原料用量 + */ + @Excel(name = "枪ISO原料用量") + private String isoUsage; + + /** + * 枪注料工位号 + */ + @Excel(name = "枪注料工位号") + private String pourNu; + + /** + * 枪设定注料时间 + */ + @Excel(name = "枪设定注料时间") + private String setTime; + + /** + * 枪设定注料重量 + */ + @Excel(name = "枪设定注料重量") + private String setWeight; + + /** + * 枪设定注料比例 + */ + @Excel(name = "枪设定注料比例") + private String setRatio; + + /** + * 枪实际注料重量 + */ + @Excel(name = "枪实际注料重量") + private String pourWeight; + + /** + * 枪实际注料比例 + */ + @Excel(name = "枪实际注料比例") + private String pourRatio; + + /** + * 枪中压循环时间 + */ + @Excel(name = "枪中压循环时间") + private String mpTime; + + /** + * 枪高压循环时间 + */ + @Excel(name = "枪高压循环时间") + private String hpTime; + + /** + * 枪液压压力 + */ + @Excel(name = "枪液压压力") + private String hydrPress; + + /** + * 枪液压温度 + */ + @Excel(name = "枪液压温度") + private String hydrTemp; + + /** + * 枪开枪时间 + */ + @Excel(name = "枪开枪时间") + private String mixpistOn; + + + /** + * 枪关枪时间 + */ + @Excel(name = "枪关枪时间") + private String mixpistOff; + + /** + * 枪总产量 + */ + @Excel(name = "枪总产量") + private String totalYield; + + /** + * 枪注料结束信号 + */ + @Excel(name = "枪注料结束信号") + private String pourEnd; + + /** + * 系统状态:0-关;1-开 + */ + @Excel(name = "系统状态:0-关;1-开") + private Long systemStatus; + + private String beginBeginTime; + + private String endBeginTime; + + public String getBeginBeginTime() { + return beginBeginTime; + } + + public void setBeginBeginTime(String beginBeginTime) { + this.beginBeginTime = beginBeginTime; + } + + public String getEndBeginTime() { + return endBeginTime; + } + + public void setEndBeginTime(String endBeginTime) { + this.endBeginTime = endBeginTime; + } + + public String getProductLineName() { + return productLineName; + } + + public void setProductLineName(String productLineName) { + this.productLineName = productLineName; + } + + public String getStationName() { + return stationName; + } + + public void setStationName(String stationName) { + this.stationName = stationName; + } + + public void setObjId(Long objId) { + this.objId = objId; + } + + public Long getObjId() { + return objId; + } + + public void setSystem(String system) { + this.system = system; + } + + public String getSystem() { + return system; + } + + public void setGunCode(String gunCode) { + this.gunCode = gunCode; + } + + public String getGunCode() { + return gunCode; + } + + public void setProductLineCode(String productLineCode) { + this.productLineCode = productLineCode; + } + + public String getProductLineCode() { + return productLineCode; + } + + public void setStationNumber(String stationNumber) { + this.stationNumber = stationNumber; + } + + public String getStationNumber() { + return stationNumber; + } + + public void setPolTemp(String polTemp) { + this.polTemp = polTemp; + } + + public String getPolTemp() { + return polTemp; + } + + public void setPolHp(String polHp) { + this.polHp = polHp; + } + + public String getPolHp() { + return polHp; + } + + public void setPolVol(String polVol) { + this.polVol = polVol; + } + + public String getPolVol() { + return polVol; + } + + public void setPolUsage(String polUsage) { + this.polUsage = polUsage; + } + + public String getPolUsage() { + return polUsage; + } + + public void setIsoTemp(String isoTemp) { + this.isoTemp = isoTemp; + } + + public String getIsoTemp() { + return isoTemp; + } + + public void setIsoHp(String isoHp) { + this.isoHp = isoHp; + } + + public String getIsoHp() { + return isoHp; + } + + public void setIsoVol(String isoVol) { + this.isoVol = isoVol; + } + + public String getIsoVol() { + return isoVol; + } + + public void setIsoUsage(String isoUsage) { + this.isoUsage = isoUsage; + } + + public String getIsoUsage() { + return isoUsage; + } + + public void setPourNu(String pourNu) { + this.pourNu = pourNu; + } + + public String getPourNu() { + return pourNu; + } + + public void setSetTime(String setTime) { + this.setTime = setTime; + } + + public String getSetTime() { + return setTime; + } + + public void setSetWeight(String setWeight) { + this.setWeight = setWeight; + } + + public String getSetWeight() { + return setWeight; + } + + public void setSetRatio(String setRatio) { + this.setRatio = setRatio; + } + + public String getSetRatio() { + return setRatio; + } + + public void setPourWeight(String pourWeight) { + this.pourWeight = pourWeight; + } + + public String getPourWeight() { + return pourWeight; + } + + public void setPourRatio(String pourRatio) { + this.pourRatio = pourRatio; + } + + public String getPourRatio() { + return pourRatio; + } + + public void setMpTime(String mpTime) { + this.mpTime = mpTime; + } + + public String getMpTime() { + return mpTime; + } + + public void setHpTime(String hpTime) { + this.hpTime = hpTime; + } + + public String getHpTime() { + return hpTime; + } + + public void setHydrPress(String hydrPress) { + this.hydrPress = hydrPress; + } + + public String getHydrPress() { + return hydrPress; + } + + public void setHydrTemp(String hydrTemp) { + this.hydrTemp = hydrTemp; + } + + public String getHydrTemp() { + return hydrTemp; + } + + public void setMixpistOn(String mixpistOn) { + this.mixpistOn = mixpistOn; + } + + public String getMixpistOn() { + return mixpistOn; + } + + public void setMixpistOff(String mixpistOff) { + this.mixpistOff = mixpistOff; + } + + public String getMixpistOff() { + return mixpistOff; + } + + public void setTotalYield(String totalYield) { + this.totalYield = totalYield; + } + + public String getTotalYield() { + return totalYield; + } + + public void setPourEnd(String pourEnd) { + this.pourEnd = pourEnd; + } + + public String getPourEnd() { + return pourEnd; + } + + public void setSystemStatus(Long systemStatus) { + this.systemStatus = systemStatus; + } + + public Long getSystemStatus() { + return systemStatus; + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) + .append("objId", getObjId()) + .append("system", getSystem()) + .append("gunCode", getGunCode()) + .append("productLineCode", getProductLineCode()) + .append("stationNumber", getStationNumber()) + .append("polTemp", getPolTemp()) + .append("polHp", getPolHp()) + .append("polVol", getPolVol()) + .append("polUsage", getPolUsage()) + .append("isoTemp", getIsoTemp()) + .append("isoHp", getIsoHp()) + .append("isoVol", getIsoVol()) + .append("isoUsage", getIsoUsage()) + .append("pourNu", getPourNu()) + .append("setTime", getSetTime()) + .append("setWeight", getSetWeight()) + .append("setRatio", getSetRatio()) + .append("pourWeight", getPourWeight()) + .append("pourRatio", getPourRatio()) + .append("mpTime", getMpTime()) + .append("hpTime", getHpTime()) + .append("hydrPress", getHydrPress()) + .append("hydrTemp", getHydrTemp()) + .append("mixpistOn", getMixpistOn()) + .append("mixpistOff", getMixpistOff()) + .append("totalYield", getTotalYield()) + .append("pourEnd", getPourEnd()) + .append("createTime", getCreateTime()) + .append("systemStatus", getSystemStatus()) + .toString(); + } +} diff --git a/aucma-report/src/main/java/com/aucma/report/mapper/BoxLastShotRecordMapper.java b/aucma-report/src/main/java/com/aucma/report/mapper/BoxLastShotRecordMapper.java new file mode 100644 index 0000000..f494cc1 --- /dev/null +++ b/aucma-report/src/main/java/com/aucma/report/mapper/BoxLastShotRecordMapper.java @@ -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 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); +} diff --git a/aucma-report/src/main/java/com/aucma/report/service/IBoxLastShotRecordService.java b/aucma-report/src/main/java/com/aucma/report/service/IBoxLastShotRecordService.java new file mode 100644 index 0000000..3a4262c --- /dev/null +++ b/aucma-report/src/main/java/com/aucma/report/service/IBoxLastShotRecordService.java @@ -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 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); +} diff --git a/aucma-report/src/main/java/com/aucma/report/service/impl/BoxLastShotRecordServiceImpl.java b/aucma-report/src/main/java/com/aucma/report/service/impl/BoxLastShotRecordServiceImpl.java new file mode 100644 index 0000000..6301bbc --- /dev/null +++ b/aucma-report/src/main/java/com/aucma/report/service/impl/BoxLastShotRecordServiceImpl.java @@ -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 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); + } +} diff --git a/aucma-report/src/main/resources/mapper/report/BoxLastShotRecordMapper.xml b/aucma-report/src/main/resources/mapper/report/BoxLastShotRecordMapper.xml new file mode 100644 index 0000000..d245925 --- /dev/null +++ b/aucma-report/src/main/resources/mapper/report/BoxLastShotRecordMapper.xml @@ -0,0 +1,214 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + + + + + + SELECT seq_box_lastshotrecord.NEXTVAL as objId FROM DUAL + + insert into box_lastshotrecord + + obj_id, + system, + gun_code, + product_line_code, + stationnumber, + pol_temp, + pol_hp, + pol_vol, + pol_usage, + iso_temp, + iso_hp, + iso_vol, + iso_usage, + pour_nu, + set_time, + set_weight, + set_ratio, + pour_weight, + pour_ratio, + mp_time, + hp_time, + hydr_press, + hydr_temp, + mixpist_on, + mixpist_off, + total_yield, + pour_end, + create_time, + systemstatus, + + + #{objId}, + #{system}, + #{gunCode}, + #{productLineCode}, + #{stationNumber}, + #{polTemp}, + #{polHp}, + #{polVol}, + #{polUsage}, + #{isoTemp}, + #{isoHp}, + #{isoVol}, + #{isoUsage}, + #{pourNu}, + #{setTime}, + #{setWeight}, + #{setRatio}, + #{pourWeight}, + #{pourRatio}, + #{mpTime}, + #{hpTime}, + #{hydrPress}, + #{hydrTemp}, + #{mixpistOn}, + #{mixpistOff}, + #{totalYield}, + #{pourEnd}, + #{createTime}, + #{systemStatus}, + + + + + update box_lastshotrecord + + system = #{system}, + gun_code = #{gunCode}, + product_line_code = #{productLineCode}, + stationnumber = #{stationNumber}, + pol_temp = #{polTemp}, + pol_hp = #{polHp}, + pol_vol = #{polVol}, + pol_usage = #{polUsage}, + iso_temp = #{isoTemp}, + iso_hp = #{isoHp}, + iso_vol = #{isoVol}, + iso_usage = #{isoUsage}, + pour_nu = #{pourNu}, + set_time = #{setTime}, + set_weight = #{setWeight}, + set_ratio = #{setRatio}, + pour_weight = #{pourWeight}, + pour_ratio = #{pourRatio}, + mp_time = #{mpTime}, + hp_time = #{hpTime}, + hydr_press = #{hydrPress}, + hydr_temp = #{hydrTemp}, + mixpist_on = #{mixpistOn}, + mixpist_off = #{mixpistOff}, + total_yield = #{totalYield}, + pour_end = #{pourEnd}, + create_time = #{createTime}, + systemstatus = #{systemStatus}, + + where obj_id = #{objId} + + + + delete + from box_lastshotrecord + where obj_id = #{objId} + + + + delete from box_lastshotrecord where obj_id in + + #{objId} + + + \ No newline at end of file