fengzhenzhong před 1 měsícem
rodič
revize
940b7517ce

+ 0 - 2
assistMg/src/main/java/com/hotent/baseInfo/manager/impl/CostDocumentTemplateFileManagerImpl.java

@@ -64,10 +64,8 @@ public class CostDocumentTemplateFileManagerImpl extends BaseManagerImpl<CostDoc
                         costProjectDocumentFile.setWhereValue(replace);
                     }
                     String colValue = this.baseMapper.getColValue(costProjectDocumentFile.getTableName(), costProjectDocumentFile.getColName(), costProjectDocumentFile.getWhereName(), costProjectDocumentFile.getWhereValue());
-                    System.err.println("查询到的字段值"+costProjectDocumentFile.getOriginalText()+":"+colValue);
                     //获取whereValue字段值
                     costProjectDocumentFile.setDataValue(colValue);
-                    System.out.println("查询到的字段值"+costProjectDocumentFile.getOriginalText()+":"+costProjectDocumentFile.getDataValue());
                 }
             } catch (Exception e) {
                 throw new BaseException("获取字段失败:" + costProjectDocumentFile.getColName());

+ 1 - 1
assistMg/src/main/resources/mapper/CostDocumentTemplateFileMapper.xml

@@ -63,6 +63,6 @@
 		from
 			${tableName}
 		where
-			${whereName} = #{whereValue}
+			${whereName} = ${whereValue}
 	</select>
 </mapper>