测试问题代码修改

This commit is contained in:
纪寒 2023-11-07 14:54:45 +08:00
parent 169038c60a
commit 1bf1319f16
4 changed files with 3 additions and 8 deletions

View File

@ -7,6 +7,7 @@ import com.xinelu.common.core.controller.BaseController;
import com.xinelu.common.core.domain.AjaxResult; import com.xinelu.common.core.domain.AjaxResult;
import com.xinelu.common.core.page.TableDataInfo; import com.xinelu.common.core.page.TableDataInfo;
import com.xinelu.common.custominterface.Insert; import com.xinelu.common.custominterface.Insert;
import com.xinelu.common.custominterface.Update;
import com.xinelu.common.enums.BusinessType; import com.xinelu.common.enums.BusinessType;
import com.xinelu.common.exception.ServiceException; import com.xinelu.common.exception.ServiceException;
import com.xinelu.common.utils.poi.ExcelUtil; import com.xinelu.common.utils.poi.ExcelUtil;
@ -15,7 +16,6 @@ import com.xinelu.manage.dto.nursestationitem.NurseStationItemDTO;
import com.xinelu.manage.dto.nursestationitem.NurseStationItemImportDTO; import com.xinelu.manage.dto.nursestationitem.NurseStationItemImportDTO;
import com.xinelu.manage.service.nursestationitem.INurseStationItemService; import com.xinelu.manage.service.nursestationitem.INurseStationItemService;
import com.xinelu.manage.vo.nursestationitem.NurseStationItemVO; import com.xinelu.manage.vo.nursestationitem.NurseStationItemVO;
import net.sf.jsqlparser.statement.update.Update;
import org.apache.commons.io.FileUtils; import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;

View File

@ -68,7 +68,6 @@ public class PoserInfo extends BaseDomain implements Serializable {
*/ */
@ApiModelProperty(value = "海报简介") @ApiModelProperty(value = "海报简介")
@Excel(name = "海报简介") @Excel(name = "海报简介")
@NotBlank(message = "海报简介不能为空", groups = {Insert.class, Update.class})
private String posterIntroduce; private String posterIntroduce;
/** /**

View File

@ -189,11 +189,9 @@
nst.appointment_time_interval, nst.appointment_time_interval,
nst.nurse_classify_name, nst.nurse_classify_name,
nst.shelf_status, nst.shelf_status,
ns.nurse_station_name, ns.nurse_station_name
nt.nurse_type_name
from nurse_station_item nst from nurse_station_item nst
LEFT JOIN nurse_station ns on ns.id = nst.nurse_station_id LEFT JOIN nurse_station ns on ns.id = nst.nurse_station_id
LEFT JOIN nurse_type nt on nt.id = nst.nurse_type_id
where nst.id = #{id} where nst.id = #{id}
</select> </select>

View File

@ -288,9 +288,7 @@
<if test="poserCode != null">poser_code = <if test="poserCode != null">poser_code =
#{poserCode}, #{poserCode},
</if> </if>
<if test="posterIntroduce != null">poster_introduce = poster_introduce = #{posterIntroduce},
#{posterIntroduce},
</if>
<if test="posterPictureUrl != null">poster_picture_url = <if test="posterPictureUrl != null">poster_picture_url =
#{posterPictureUrl}, #{posterPictureUrl},
</if> </if>