Merge branch 'master' of http://111.30.93.211:10101/r/supipe
| | |
| | | if(StringUtils.isNotBlank(id)){ |
| | | suMaterialWarehouseEntity.setUpdateTime(new Date()); |
| | | suMaterialWarehouseEntity.setUpdateUser(userId); |
| | | } |
| | | }else { |
| | | suMaterialWarehouseEntity.setId(UUIDUtils.create()); |
| | | } |
| | | suMaterialWarehouseEntity.setCreateUser(userId); |
| | | suMaterialWarehouseEntity.setCompanyId(companyId); |
| | | suMaterialWarehouseMapper.insertAndUpdate(suMaterialWarehouseEntity); |
| | |
| | | |
| | | |
| | | <insert id="insertAndUpdate"> |
| | | insert ignore into t_su_material_warehouse_record |
| | | insert into t_su_material_warehouse_record |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |