bug提交
This commit is contained in:
parent
e5cf171d6d
commit
902c5015ac
|
|
@ -679,6 +679,9 @@
|
|||
) aa on aa.typeId=bad.type_id
|
||||
WHERE
|
||||
bai.id=#{id}
|
||||
<if test="code != null and code != ''">
|
||||
and CONCAT('NSJJ',mt.`code`,mt.model_code) like concat ('%',#{code},'%')
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectTaskNumByMonthWx" resultType="java.lang.Integer">
|
||||
|
|
|
|||
|
|
@ -112,6 +112,17 @@ public class PurchaseMacodeInfo extends BaseEntity
|
|||
/** 到货日期 */
|
||||
@ApiModelProperty(value = "到货日期")
|
||||
private String arrivalTime;
|
||||
/** 单位名称 */
|
||||
@ApiModelProperty(value = "单位名称")
|
||||
private String unitName;
|
||||
|
||||
public String getUnitName() {
|
||||
return unitName;
|
||||
}
|
||||
|
||||
public void setUnitName(String unitName) {
|
||||
this.unitName = unitName;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "0,正常 1, 重复数据")
|
||||
private int statusFlag;
|
||||
|
|
|
|||
|
|
@ -409,6 +409,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
pcd.type_id typeId,
|
||||
pcd.task_id taskId,
|
||||
mt.CODE specsCode,
|
||||
mt.unit_name unitName,
|
||||
mt1.CODE typeCode,
|
||||
CASE
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
package com.bonus.sgzb.system.service.impl;
|
||||
|
||||
import cn.hutool.core.collection.CollUtil;
|
||||
import com.bonus.sgzb.common.core.utils.GlobalConstants;
|
||||
import com.bonus.sgzb.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.sgzb.system.domain.AgreementVo;
|
||||
|
|
@ -42,13 +43,14 @@ public class SelectServiceImpl implements SelectService {
|
|||
|
||||
@Override
|
||||
public AjaxResult getProData(SelectDto dto) {
|
||||
List<SelectVo> list = new ArrayList<>();
|
||||
try {
|
||||
list = mapper.getProData(dto);
|
||||
List<SelectVo> list = mapper.getProData(dto);
|
||||
list.removeIf(item -> item == null);
|
||||
return AjaxResult.success(list);
|
||||
} catch (Exception e) {
|
||||
log.error("工程-查询失败", e);
|
||||
}
|
||||
return AjaxResult.success(list);
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue