浏览代码

去除数据多余符号

wujunjie 7 年之前
父节点
当前提交
37bba1e4d3

+ 0 - 2
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/service/template/DoctorGuidanceTempService.java

@ -60,7 +60,6 @@ public class DoctorGuidanceTempService extends BaseService {
        Map temp = (Map) jdbcTemplate.queryForMap(sql, modelCode);
        Map temp = (Map) jdbcTemplate.queryForMap(sql, modelCode);
        String modelName = (String) temp.get("model_name");
        String modelName = (String) temp.get("model_name");
        String content = (String) temp.get("content");
        String content = (String) temp.get("content");
        content = CodeFomat.chineseToDate(content);
        String imagesUrl = (String) temp.get("images_url");
        String imagesUrl = (String) temp.get("images_url");
//        多图按逗号分割保存成数组
//        多图按逗号分割保存成数组
        String[] imagesArray = null;
        String[] imagesArray = null;
@ -88,7 +87,6 @@ public class DoctorGuidanceTempService extends BaseService {
     * @return
     * @return
     */
     */
    public DoctorGuidanceTemp add(String doctor, String content, String modelName, String imagesUrl) {
    public DoctorGuidanceTemp add(String doctor, String content, String modelName, String imagesUrl) {
        content = CodeFomat.dateToChinese(content);
        DoctorGuidanceTemp guidanceTemp = new DoctorGuidanceTemp();
        DoctorGuidanceTemp guidanceTemp = new DoctorGuidanceTemp();
        String imageUrls = "";
        String imageUrls = "";
        String imageRow = "";
        String imageRow = "";