上下架读取商品名称
parent
7c2abe11fb
commit
445a0e81c9
|
@ -56,7 +56,7 @@ public class wmUtil {
|
||||||
SystemService systemService =ApplicationContextUtil.getContext().getBean(SystemService.class);
|
SystemService systemService =ApplicationContextUtil.getContext().getBean(SystemService.class);
|
||||||
|
|
||||||
Map<String, Object> countMap = systemService
|
Map<String, Object> countMap = systemService
|
||||||
.findOneForJdbc("SELECT cast(right(ifnull(max(notice_id),0),4)+1 as SIGNED) as count FROM wm_im_notice_h t where TO_DAYS(t.create_date) = TO_DAYS(NOW());");
|
.findOneForJdbc("SELECT cast(right(ifnull((notice_id),0),4)+1 as SIGNED) as count FROM wm_im_notice_h t where TO_DAYS(t.create_date) = TO_DAYS(NOW()) order by create_date desc limit 1");
|
||||||
if (StringUtil.isEmpty(orderType)){
|
if (StringUtil.isEmpty(orderType)){
|
||||||
orderType = "01";
|
orderType = "01";
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,7 @@ public class wmUtil {
|
||||||
public static String getNextomNoticeId(String orderType){
|
public static String getNextomNoticeId(String orderType){
|
||||||
SystemService systemService =ApplicationContextUtil.getContext().getBean(SystemService.class);
|
SystemService systemService =ApplicationContextUtil.getContext().getBean(SystemService.class);
|
||||||
Map<String, Object> countMap = systemService
|
Map<String, Object> countMap = systemService
|
||||||
.findOneForJdbc("SELECT cast(right(ifnull(max(om_notice_id),0),4)+1 as SIGNED) as count FROM wm_om_notice_h t where TO_DAYS(t.create_date) = TO_DAYS(NOW());");
|
.findOneForJdbc("SELECT cast(right(ifnull((om_notice_id),0),4)+1 as SIGNED) as count FROM wm_om_notice_h t where TO_DAYS(t.create_date) = TO_DAYS(NOW()) order by create_date desc limit 1");
|
||||||
String noticeid = null;
|
String noticeid = null;
|
||||||
if (StringUtil.isEmpty(orderType)){
|
if (StringUtil.isEmpty(orderType)){
|
||||||
orderType = "11";
|
orderType = "11";
|
||||||
|
|
Loading…
Reference in New Issue