乱码bug
This commit is contained in:
parent
2d4c0cb34f
commit
926c07a059
|
|
@ -209,7 +209,11 @@ public class InventoryAndWarehousingServiceImpl implements InventoryAndWarehousi
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
//插入ma_type_put_in_storage_info表,返回主键id
|
/**
|
||||||
|
* 插入ma_type_put_in_storage_info表,返回主键id
|
||||||
|
* @param machIneDto
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
private int insertInfo(MachIneDto machIneDto) {
|
private int insertInfo(MachIneDto machIneDto) {
|
||||||
return inventoryAndWarehousingMapper.saveInfo(machIneDto);
|
return inventoryAndWarehousingMapper.saveInfo(machIneDto);
|
||||||
}
|
}
|
||||||
|
|
@ -268,6 +272,8 @@ public class InventoryAndWarehousingServiceImpl implements InventoryAndWarehousi
|
||||||
machIneDto.setCreator(dto.getCreator());
|
machIneDto.setCreator(dto.getCreator());
|
||||||
machIneDto.setIsCode(dto.getIsCode());
|
machIneDto.setIsCode(dto.getIsCode());
|
||||||
machIneDto.setTotalNum(total);
|
machIneDto.setTotalNum(total);
|
||||||
|
machIneDto.setUnitId(dto.getUnitId());
|
||||||
|
machIneDto.setProId(dto.getProId());
|
||||||
machIneDto.setRemarks(dto.getRemarks());
|
machIneDto.setRemarks(dto.getRemarks());
|
||||||
res += insertInfo(machIneDto);
|
res += insertInfo(machIneDto);
|
||||||
machIneDto.setInfoId(machIneDto.getId());
|
machIneDto.setInfoId(machIneDto.getId());
|
||||||
|
|
|
||||||
|
|
@ -267,7 +267,6 @@
|
||||||
pisd.MACODE like concat('%',#{keyWord},'%')
|
pisd.MACODE like concat('%',#{keyWord},'%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
order by pisi.CREATE_DATE desc
|
|
||||||
</select>
|
</select>
|
||||||
<select id="selectByMaCode" resultType="java.lang.Integer">
|
<select id="selectByMaCode" resultType="java.lang.Integer">
|
||||||
select count(*)
|
select count(*)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue