入库盘点
This commit is contained in:
parent
73637df9ac
commit
af01245488
|
|
@ -66,13 +66,6 @@ public interface InventoryAndWarehousingMapper {
|
|||
*/
|
||||
int insertLabelBind(MachIneDto machIneDto);
|
||||
|
||||
/**
|
||||
* 根据code从ma_machine表查询是否有数据,去重
|
||||
* @param code
|
||||
* @return
|
||||
*/
|
||||
int selectByCode(String code);
|
||||
|
||||
/**
|
||||
* 查询
|
||||
* @param nowDate
|
||||
|
|
|
|||
|
|
@ -106,15 +106,6 @@ public class InventoryAndWarehousingServiceImpl implements InventoryAndWarehousi
|
|||
return AjaxResult.success(res);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据code从ma_machine表查询是否有数据,去重
|
||||
* @param code
|
||||
* @return
|
||||
*/
|
||||
private int selectByCode(String code) {
|
||||
return inventoryAndWarehousingMapper.selectByCode(code);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编号新增,插入ma_machine、ma_machine_label和ma_label_bind
|
||||
* @param dto
|
||||
|
|
|
|||
|
|
@ -196,24 +196,18 @@
|
|||
where
|
||||
1 = 1
|
||||
<if test="keyWord != null and keyWord != ''">
|
||||
and (pisi.PUT_IN_TYPE like concat('%',#{keyWord},'%') or
|
||||
and (
|
||||
pisi.`CODE` like concat('%',#{keyWord},'%') or
|
||||
pisi.PUT_IN_TYPE like concat('%',#{keyWord},'%') or
|
||||
lot.lot_name like concat('%',#{keyWord},'%') or
|
||||
bui.unit_name like concat('%',#{keyWord},'%') or
|
||||
mt2.type_name like concat('%',#{keyWord},'%') or
|
||||
su.user_name like concat('%',#{keyWord},'%') or
|
||||
pisd.REMARKS like concat('%',#{keyWord},'%')
|
||||
pisi.REMARKS like concat('%',#{keyWord},'%')
|
||||
)
|
||||
</if>
|
||||
order by pisi.CREATE_DATE desc
|
||||
</select>
|
||||
<select id="selectByCode" resultType="java.lang.Integer">
|
||||
select count(*)
|
||||
from ma_machine
|
||||
where
|
||||
1 = 1
|
||||
<if test="code != null "> and qr_code = #{code}</if>
|
||||
|
||||
</select>
|
||||
<select id="selectTaskNumByMonth" resultType="java.lang.Integer">
|
||||
select count(*) from ma_type_put_in_storage_info where DATE_FORMAT(CREATE_DATE,'%y%m') = DATE_FORMAT(#{date},'%y%m')
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue