修改his视图的sql入参,医嘱开单的相关接口。
This commit is contained in:
@@ -131,10 +131,10 @@ public class HisViewSearchServiceImpl implements HisViewSearchService {
|
||||
log.info("打印链接状态:" + conn);
|
||||
// 3.通过数据库的连接操作数据库,实现增删改查(使用Statement类)
|
||||
String today = DateUtil.today();
|
||||
String todayString = today + "00:00:00";
|
||||
String todayString = today + " 00:00:00";
|
||||
DateTime tomorrow = DateUtil.tomorrow();
|
||||
String s = DateUtil.formatDate(tomorrow);
|
||||
String tomorrowString = s + "00:00:00";
|
||||
String tomorrowString = s + " 00:00:00";
|
||||
// SELECT * FROM HIS_WJFHZCFXX WHERE lrrq BETWEEN '2024-04-02 00:00:00' AND '2024-04-03 00:00:00 '
|
||||
String sql = " SELECT * FROM HIS_WJFHZCFXX WHERE lrrq BETWEEN '" + todayString + "' AND '" + tomorrowString + "'";
|
||||
log.info("打印sql" + sql);
|
||||
|
||||
Reference in New Issue
Block a user