@ -73,11 +74,12 @@ public interface ProOrderMapper {
publicintdeleteProOrderByIds(String[]ids);
/**
*获取线体
*获取成型机
*
*@return
*/
@Select(" SELECT sf.f_code [key],sf.factory_name label FROM sys_factory sf WHERE sf.f_type='l' AND sf.status = '1' AND sf.del_flag = '0' ")
@DS("master")
@Select(" SELECT sda.dict_code AS 'key', sda.dict_label AS 'label' FROM sys_dict_data sda WHERE sda.status = '0' AND sda.dict_value = 'equ_type_cxj' ")
publicList<ProLine>selectProdLine();
/**
@ -100,7 +102,8 @@ public interface ProOrderMapper {
*
*@return
*/
@Select("SELECT sf.factory_name name FROM sys_factory sf WHERE sf.f_type='l' AND sf.status = '1' AND sf.del_flag = '0' AND sf.f_code = #{prodLineCode}")
@DS("master")
@Select("SELECT sda.dict_label AS 'prodLineName' FROM sys_dict_data sda WHERE sda.status = '0' AND sda.dict_value = 'equ_type_cxj' AND sda.dict_code = #{prodLineName}")