add - 电实时数据

master
yinq 1 year ago
parent 3becad2a3f
commit cdf764338a

@ -0,0 +1,103 @@
package com.aucma.base.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.base.domain.RecordDnbInstant;
import com.aucma.base.service.IRecordDnbInstantService;
import com.aucma.common.utils.poi.ExcelUtil;
import com.aucma.common.core.page.TableDataInfo;
/**
* Controller
*
* @author Yinq
* @date 2023-09-26
*/
@RestController
@RequestMapping("/base/dnbInstant")
public class RecordDnbInstantController extends BaseController {
@Autowired
private IRecordDnbInstantService recordDnbInstantService;
/**
*
*/
@PreAuthorize("@ss.hasPermi('base:dnbInstant:list')")
@GetMapping("/list")
public TableDataInfo list(RecordDnbInstant recordDnbInstant) {
startPage();
List<RecordDnbInstant> list = recordDnbInstantService.selectRecordDnbInstantList(recordDnbInstant);
return getDataTable(list);
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('base:dnbInstant:export')")
@Log(title = "电实时数据", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, RecordDnbInstant recordDnbInstant) {
List<RecordDnbInstant> list = recordDnbInstantService.selectRecordDnbInstantList(recordDnbInstant);
ExcelUtil<RecordDnbInstant> util = new ExcelUtil<RecordDnbInstant>(RecordDnbInstant.class);
util.exportExcel(response, list, "电实时数据数据");
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('base:dnbInstant:query')")
@GetMapping(value = "/{objId}")
public AjaxResult getInfo(@PathVariable("objId") Long objId) {
return success(recordDnbInstantService.selectRecordDnbInstantByObjId(objId));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('base:dnbInstant:add')")
@Log(title = "电实时数据", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody RecordDnbInstant recordDnbInstant) {
recordDnbInstant.setCreatedBy(getUsername());
recordDnbInstant.setCreatedTime(DateUtils.getNowDate());
return toAjax(recordDnbInstantService.insertRecordDnbInstant(recordDnbInstant));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('base:dnbInstant:edit')")
@Log(title = "电实时数据", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody RecordDnbInstant recordDnbInstant) {
recordDnbInstant.setUpdatedBy(getUsername());
recordDnbInstant.setUpdatedTime(DateUtils.getNowDate());
return toAjax(recordDnbInstantService.updateRecordDnbInstant(recordDnbInstant));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('base:dnbInstant:remove')")
@Log(title = "电实时数据", businessType = BusinessType.DELETE)
@DeleteMapping("/{objIds}")
public AjaxResult remove(@PathVariable Long[] objIds) {
return toAjax(recordDnbInstantService.deleteRecordDnbInstantByObjIds(objIds));
}
}

@ -0,0 +1,359 @@
package com.aucma.base.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
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;
/**
* record_dnb_instant
*
* @author Yinq
* @date 2023-09-26
*/
public class RecordDnbInstant extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
*
*/
private Long objId;
/**
*
*/
@Excel(name = "计量设备编号")
private String monitorId;
/**
*
*/
@Excel(name = "计量设备名称")
private String monitorName;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date collectTime;
/**
* A
*/
@Excel(name = "A项电压")
private BigDecimal va;
/**
* B
*/
@Excel(name = "B项电压")
private BigDecimal vb;
/**
* C
*/
@Excel(name = "C项电压")
private BigDecimal vc;
/**
* A
*/
@Excel(name = "A项电流")
private BigDecimal ia;
/**
* B
*/
@Excel(name = "B项电流")
private BigDecimal ib;
/**
* C
*/
@Excel(name = "C项电流")
private BigDecimal ic;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date recordTime;
/**
*
*/
@Excel(name = "功率因数")
private BigDecimal glys;
/**
*
*/
@Excel(name = "正向有功")
private BigDecimal zxyg;
/**
*
*/
@Excel(name = "有功功率")
private BigDecimal activePower;
/**
*
*/
@Excel(name = "无功功率")
private BigDecimal reactivePower;
/**
* 0-1-
*/
@Excel(name = "采集方式", readConverterExp = "0=-自动1-手动")
private Long collectType;
/**
*
*/
@Excel(name = "启用标识")
private Long isFlag;
/**
*
*/
@Excel(name = "创建人")
private String createdBy;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date createdTime;
/**
*
*/
@Excel(name = "修改人")
private String updatedBy;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date updatedTime;
/**
*
*/
@Excel(name = "工厂编号")
private String factoryCode;
public String getMonitorName() {
return monitorName;
}
public void setMonitorName(String monitorName) {
this.monitorName = monitorName;
}
public void setObjId(Long objId) {
this.objId = objId;
}
public Long getObjId() {
return objId;
}
public void setMonitorId(String monitorId) {
this.monitorId = monitorId;
}
public String getMonitorId() {
return monitorId;
}
public void setCollectTime(Date collectTime) {
this.collectTime = collectTime;
}
public Date getCollectTime() {
return collectTime;
}
public void setVa(BigDecimal va) {
this.va = va;
}
public BigDecimal getVa() {
return va;
}
public void setVb(BigDecimal vb) {
this.vb = vb;
}
public BigDecimal getVb() {
return vb;
}
public void setVc(BigDecimal vc) {
this.vc = vc;
}
public BigDecimal getVc() {
return vc;
}
public void setIa(BigDecimal ia) {
this.ia = ia;
}
public BigDecimal getIa() {
return ia;
}
public void setIb(BigDecimal ib) {
this.ib = ib;
}
public BigDecimal getIb() {
return ib;
}
public void setIc(BigDecimal ic) {
this.ic = ic;
}
public BigDecimal getIc() {
return ic;
}
public void setRecordTime(Date recordTime) {
this.recordTime = recordTime;
}
public Date getRecordTime() {
return recordTime;
}
public void setGlys(BigDecimal glys) {
this.glys = glys;
}
public BigDecimal getGlys() {
return glys;
}
public void setZxyg(BigDecimal zxyg) {
this.zxyg = zxyg;
}
public BigDecimal getZxyg() {
return zxyg;
}
public void setActivePower(BigDecimal activePower) {
this.activePower = activePower;
}
public BigDecimal getActivePower() {
return activePower;
}
public void setReactivePower(BigDecimal reactivePower) {
this.reactivePower = reactivePower;
}
public BigDecimal getReactivePower() {
return reactivePower;
}
public void setCollectType(Long collectType) {
this.collectType = collectType;
}
public Long getCollectType() {
return collectType;
}
public void setIsFlag(Long isFlag) {
this.isFlag = isFlag;
}
public Long getIsFlag() {
return isFlag;
}
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
public String getCreatedBy() {
return createdBy;
}
public void setCreatedTime(Date createdTime) {
this.createdTime = createdTime;
}
public Date getCreatedTime() {
return createdTime;
}
public void setUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
}
public String getUpdatedBy() {
return updatedBy;
}
public void setUpdatedTime(Date updatedTime) {
this.updatedTime = updatedTime;
}
public Date getUpdatedTime() {
return updatedTime;
}
public void setFactoryCode(String factoryCode) {
this.factoryCode = factoryCode;
}
public String getFactoryCode() {
return factoryCode;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("objId", getObjId())
.append("monitorId", getMonitorId())
.append("collectTime", getCollectTime())
.append("va", getVa())
.append("vb", getVb())
.append("vc", getVc())
.append("ia", getIa())
.append("ib", getIb())
.append("ic", getIc())
.append("recordTime", getRecordTime())
.append("glys", getGlys())
.append("zxyg", getZxyg())
.append("activePower", getActivePower())
.append("reactivePower", getReactivePower())
.append("collectType", getCollectType())
.append("isFlag", getIsFlag())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updatedBy", getUpdatedBy())
.append("updatedTime", getUpdatedTime())
.append("factoryCode", getFactoryCode())
.toString();
}
}

@ -0,0 +1,61 @@
package com.aucma.base.mapper;
import java.util.List;
import com.aucma.base.domain.RecordDnbInstant;
/**
* Mapper
*
* @author Yinq
* @date 2023-09-26
*/
public interface RecordDnbInstantMapper
{
/**
*
*
* @param objId
* @return
*/
public RecordDnbInstant selectRecordDnbInstantByObjId(Long objId);
/**
*
*
* @param recordDnbInstant
* @return
*/
public List<RecordDnbInstant> selectRecordDnbInstantList(RecordDnbInstant recordDnbInstant);
/**
*
*
* @param recordDnbInstant
* @return
*/
public int insertRecordDnbInstant(RecordDnbInstant recordDnbInstant);
/**
*
*
* @param recordDnbInstant
* @return
*/
public int updateRecordDnbInstant(RecordDnbInstant recordDnbInstant);
/**
*
*
* @param objId
* @return
*/
public int deleteRecordDnbInstantByObjId(Long objId);
/**
*
*
* @param objIds
* @return
*/
public int deleteRecordDnbInstantByObjIds(Long[] objIds);
}

@ -0,0 +1,61 @@
package com.aucma.base.service;
import java.util.List;
import com.aucma.base.domain.RecordDnbInstant;
/**
* Service
*
* @author Yinq
* @date 2023-09-26
*/
public interface IRecordDnbInstantService
{
/**
*
*
* @param objId
* @return
*/
public RecordDnbInstant selectRecordDnbInstantByObjId(Long objId);
/**
*
*
* @param recordDnbInstant
* @return
*/
public List<RecordDnbInstant> selectRecordDnbInstantList(RecordDnbInstant recordDnbInstant);
/**
*
*
* @param recordDnbInstant
* @return
*/
public int insertRecordDnbInstant(RecordDnbInstant recordDnbInstant);
/**
*
*
* @param recordDnbInstant
* @return
*/
public int updateRecordDnbInstant(RecordDnbInstant recordDnbInstant);
/**
*
*
* @param objIds
* @return
*/
public int deleteRecordDnbInstantByObjIds(Long[] objIds);
/**
*
*
* @param objId
* @return
*/
public int deleteRecordDnbInstantByObjId(Long objId);
}

@ -0,0 +1,93 @@
package com.aucma.base.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.aucma.base.mapper.RecordDnbInstantMapper;
import com.aucma.base.domain.RecordDnbInstant;
import com.aucma.base.service.IRecordDnbInstantService;
/**
* Service
*
* @author Yinq
* @date 2023-09-26
*/
@Service
public class RecordDnbInstantServiceImpl implements IRecordDnbInstantService
{
@Autowired
private RecordDnbInstantMapper recordDnbInstantMapper;
/**
*
*
* @param objId
* @return
*/
@Override
public RecordDnbInstant selectRecordDnbInstantByObjId(Long objId)
{
return recordDnbInstantMapper.selectRecordDnbInstantByObjId(objId);
}
/**
*
*
* @param recordDnbInstant
* @return
*/
@Override
public List<RecordDnbInstant> selectRecordDnbInstantList(RecordDnbInstant recordDnbInstant)
{
return recordDnbInstantMapper.selectRecordDnbInstantList(recordDnbInstant);
}
/**
*
*
* @param recordDnbInstant
* @return
*/
@Override
public int insertRecordDnbInstant(RecordDnbInstant recordDnbInstant)
{
return recordDnbInstantMapper.insertRecordDnbInstant(recordDnbInstant);
}
/**
*
*
* @param recordDnbInstant
* @return
*/
@Override
public int updateRecordDnbInstant(RecordDnbInstant recordDnbInstant)
{
return recordDnbInstantMapper.updateRecordDnbInstant(recordDnbInstant);
}
/**
*
*
* @param objIds
* @return
*/
@Override
public int deleteRecordDnbInstantByObjIds(Long[] objIds)
{
return recordDnbInstantMapper.deleteRecordDnbInstantByObjIds(objIds);
}
/**
*
*
* @param objId
* @return
*/
@Override
public int deleteRecordDnbInstantByObjId(Long objId)
{
return recordDnbInstantMapper.deleteRecordDnbInstantByObjId(objId);
}
}

@ -0,0 +1,181 @@
<?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.base.mapper.RecordDnbInstantMapper">
<resultMap type="RecordDnbInstant" id="RecordDnbInstantResult">
<result property="objId" column="obj_id" />
<result property="monitorId" column="monitor_id" />
<result property="monitorName" column="monitorName" />
<result property="collectTime" column="collect_time" />
<result property="va" column="va" />
<result property="vb" column="vb" />
<result property="vc" column="vc" />
<result property="ia" column="ia" />
<result property="ib" column="ib" />
<result property="ic" column="ic" />
<result property="recordTime" column="record_time" />
<result property="glys" column="glys" />
<result property="zxyg" column="zxyg" />
<result property="activePower" column="active_power" />
<result property="reactivePower" column="reactive_power" />
<result property="collectType" column="collect_type" />
<result property="isFlag" column="is_flag" />
<result property="createdBy" column="created_by" />
<result property="createdTime" column="created_time" />
<result property="updatedBy" column="updated_by" />
<result property="updatedTime" column="updated_time" />
<result property="factoryCode" column="factory_code" />
</resultMap>
<sql id="selectRecordDnbInstantVo">
select rdi.obj_id,
rdi.monitor_id,
mr.MONITOR_NAME monitorName,
rdi.collect_time,
rdi.va,
rdi.vb,
rdi.vc,
rdi.ia,
rdi.ib,
rdi.ic,
rdi.record_time,
rdi.glys,
rdi.zxyg,
rdi.active_power,
rdi.reactive_power,
rdi.collect_type,
rdi.is_flag,
rdi.created_by,
rdi.created_time,
rdi.updated_by,
rdi.updated_time,
rdi.factory_code
from record_dnb_instant rdi
left join BASE_MONITORINFO mr on mr.MONITOR_CODE = rdi.monitor_id
</sql>
<select id="selectRecordDnbInstantList" parameterType="RecordDnbInstant" resultMap="RecordDnbInstantResult">
<include refid="selectRecordDnbInstantVo"/>
<where>
<if test="monitorId != null and monitorId != ''"> and rdi.monitor_id = #{monitorId}</if>
<if test="params.beginCollectTime != null and params.beginCollectTime != '' and params.endCollectTime != null and params.endCollectTime != ''">
and rdi.collect_time between to_date(#{params.beginCollectTime}, 'yyyy-mm-dd hh24:mi:ss') and to_date(#{params.endCollectTime}, 'yyyy-mm-dd hh24:mi:ss')</if>
<if test="va != null "> and rdi.va = #{va}</if>
<if test="vb != null "> and rdi.vb = #{vb}</if>
<if test="vc != null "> and rdi.vc = #{vc}</if>
<if test="ia != null "> and rdi.ia = #{ia}</if>
<if test="ib != null "> and rdi.ib = #{ib}</if>
<if test="ic != null "> and rdi.ic = #{ic}</if>
<if test="recordTime != null "> and rdi.record_time = #{recordTime}</if>
<if test="glys != null "> and rdi.glys = #{glys}</if>
<if test="zxyg != null "> and rdi.zxyg = #{zxyg}</if>
<if test="activePower != null "> and rdi.active_power = #{activePower}</if>
<if test="reactivePower != null "> and rdi.reactive_power = #{reactivePower}</if>
<if test="collectType != null "> and rdi.collect_type = #{collectType}</if>
<if test="isFlag != null "> and rdi.is_flag = #{isFlag}</if>
<if test="createdBy != null and createdBy != ''"> and rdi.created_by = #{createdBy}</if>
<if test="createdTime != null "> and rdi.created_time = #{createdTime}</if>
<if test="updatedBy != null and updatedBy != ''"> and rdi.updated_by = #{updatedBy}</if>
<if test="updatedTime != null "> and rdi.updated_time = #{updatedTime}</if>
<if test="factoryCode != null and factoryCode != ''"> and rdi.factory_code = #{factoryCode}</if>
</where>
</select>
<select id="selectRecordDnbInstantByObjId" parameterType="Long" resultMap="RecordDnbInstantResult">
<include refid="selectRecordDnbInstantVo"/>
where rdi.obj_id = #{objId}
</select>
<insert id="insertRecordDnbInstant" parameterType="RecordDnbInstant">
<selectKey keyProperty="objId" resultType="long" order="BEFORE">
SELECT seq_record_dnb_instant.NEXTVAL as objId FROM DUAL
</selectKey>
insert into record_dnb_instant
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="objId != null">obj_id,</if>
<if test="monitorId != null">monitor_id,</if>
<if test="collectTime != null">collect_time,</if>
<if test="va != null">va,</if>
<if test="vb != null">vb,</if>
<if test="vc != null">vc,</if>
<if test="ia != null">ia,</if>
<if test="ib != null">ib,</if>
<if test="ic != null">ic,</if>
<if test="recordTime != null">record_time,</if>
<if test="glys != null">glys,</if>
<if test="zxyg != null">zxyg,</if>
<if test="activePower != null">active_power,</if>
<if test="reactivePower != null">reactive_power,</if>
<if test="collectType != null">collect_type,</if>
<if test="isFlag != null">is_flag,</if>
<if test="createdBy != null">created_by,</if>
<if test="createdTime != null">created_time,</if>
<if test="updatedBy != null">updated_by,</if>
<if test="updatedTime != null">updated_time,</if>
<if test="factoryCode != null">factory_code,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="objId != null">#{objId},</if>
<if test="monitorId != null">#{monitorId},</if>
<if test="collectTime != null">#{collectTime},</if>
<if test="va != null">#{va},</if>
<if test="vb != null">#{vb},</if>
<if test="vc != null">#{vc},</if>
<if test="ia != null">#{ia},</if>
<if test="ib != null">#{ib},</if>
<if test="ic != null">#{ic},</if>
<if test="recordTime != null">#{recordTime},</if>
<if test="glys != null">#{glys},</if>
<if test="zxyg != null">#{zxyg},</if>
<if test="activePower != null">#{activePower},</if>
<if test="reactivePower != null">#{reactivePower},</if>
<if test="collectType != null">#{collectType},</if>
<if test="isFlag != null">#{isFlag},</if>
<if test="createdBy != null">#{createdBy},</if>
<if test="createdTime != null">#{createdTime},</if>
<if test="updatedBy != null">#{updatedBy},</if>
<if test="updatedTime != null">#{updatedTime},</if>
<if test="factoryCode != null">#{factoryCode},</if>
</trim>
</insert>
<update id="updateRecordDnbInstant" parameterType="RecordDnbInstant">
update record_dnb_instant
<trim prefix="SET" suffixOverrides=",">
<if test="monitorId != null">monitor_id = #{monitorId},</if>
<if test="collectTime != null">collect_time = #{collectTime},</if>
<if test="va != null">va = #{va},</if>
<if test="vb != null">vb = #{vb},</if>
<if test="vc != null">vc = #{vc},</if>
<if test="ia != null">ia = #{ia},</if>
<if test="ib != null">ib = #{ib},</if>
<if test="ic != null">ic = #{ic},</if>
<if test="recordTime != null">record_time = #{recordTime},</if>
<if test="glys != null">glys = #{glys},</if>
<if test="zxyg != null">zxyg = #{zxyg},</if>
<if test="activePower != null">active_power = #{activePower},</if>
<if test="reactivePower != null">reactive_power = #{reactivePower},</if>
<if test="collectType != null">collect_type = #{collectType},</if>
<if test="isFlag != null">is_flag = #{isFlag},</if>
<if test="createdBy != null">created_by = #{createdBy},</if>
<if test="createdTime != null">created_time = #{createdTime},</if>
<if test="updatedBy != null">updated_by = #{updatedBy},</if>
<if test="updatedTime != null">updated_time = #{updatedTime},</if>
<if test="factoryCode != null">factory_code = #{factoryCode},</if>
</trim>
where obj_id = #{objId}
</update>
<delete id="deleteRecordDnbInstantByObjId" parameterType="Long">
delete from record_dnb_instant where obj_id = #{objId}
</delete>
<delete id="deleteRecordDnbInstantByObjIds" parameterType="String">
delete from record_dnb_instant where obj_id in
<foreach item="objId" collection="array" open="(" separator="," close=")">
#{objId}
</foreach>
</delete>
</mapper>

@ -37,7 +37,7 @@
<if test="materialCode != null and materialCode != ''"> and material_code = #{materialCode}</if>
<if test="inStoreAmount != null "> and in_store_amount = #{inStoreAmount}</if>
<if test="params.beginInStoreTime != null and params.beginInStoreTime != '' and params.endInStoreTime != null and params.endInStoreTime != ''">
and in_store_time between #{params.beginInStoreTime} and #{params.endInStoreTime}</if>
and in_store_time between to_date(#{params.beginInStoreTime}, 'yyyy-mm-dd hh24:mi:ss') and to_date(#{params.endInStoreTime}, 'yyyy-mm-dd hh24:mi:ss')</if>
<if test="isFlag != null "> and is_flag = #{isFlag}</if>
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<if test="createdTime != null "> and created_time = #{createdTime}</if>

@ -55,7 +55,7 @@
</if>
<if test="outStoreAmount != null ">and out_store_amount = #{outStoreAmount}</if>
<if test="params.beginOutStoreTime != null and params.beginOutStoreTime != '' and params.endOutStoreTime != null and params.endOutStoreTime != ''">
and out_store_time between #{params.beginOutStoreTime} and #{params.endOutStoreTime}
and out_store_time between to_date(#{params.beginOutStoreTime}, 'yyyy-mm-dd hh24:mi:ss') and to_date(#{params.endOutStoreTime}, 'yyyy-mm-dd hh24:mi:ss')
</if>
<if test="isFlag != null ">and is_flag = #{isFlag}</if>
<if test="createdBy != null and createdBy != ''">and created_by = #{createdBy}</if>

Loading…
Cancel
Save