盘点入库bug修复

This commit is contained in:
hongchao 2025-08-28 16:38:21 +08:00
parent b0159a8e18
commit 451d8dd923
2 changed files with 3 additions and 5 deletions

View File

@ -173,8 +173,6 @@ public class WarehousingServiceImpl implements WarehousingService {
machIneDto.setNum(dto.getNum()); machIneDto.setNum(dto.getNum());
machIneDto.setIsCode(dto.getIsCode()); machIneDto.setIsCode(dto.getIsCode());
machIneDto.setTypeId(dto.getTypeId()); machIneDto.setTypeId(dto.getTypeId());
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());

View File

@ -64,8 +64,8 @@
</if> </if>
</otherwise> </otherwise>
</choose> </choose>
<if test="typeId != null and typeId != ''">type_id,</if> <!-- <if test="typeId != null">type_id,</if>-->
<if test="creator != null and creator != ''">creator,</if> <if test="creator != null">creator,</if>
<if test="code != null and code != ''">code,</if> <if test="code != null and code != ''">code,</if>
<if test="remarks != null and remarks != ''">remarks,</if> <if test="remarks != null and remarks != ''">remarks,</if>
create_time create_time
@ -83,7 +83,7 @@
</if> </if>
</otherwise> </otherwise>
</choose> </choose>
<if test="typeId != null and typeId != ''">#{typeId},</if>
<if test="creator != null and creator != ''">#{creator},</if> <if test="creator != null and creator != ''">#{creator},</if>
<if test="code != null and code != ''">#{code},</if> <if test="code != null and code != ''">#{code},</if>
<if test="remarks != null and remarks != ''">#{remarks},</if> <if test="remarks != null and remarks != ''">#{remarks},</if>